/// <summary> /// Search video. /// </summary> /// <param name="keyword">The keyword.</param> /// <param name="resultCount">The count of result itmes.</param> /// <returns>The result items.</returns> /// <remarks>Now, the max count of items Google given is <b>64</b>.</remarks> public IList <IVideoResult> Search(string keyword, int resultCount) { return(this.Search(keyword, resultCount, SortType.GetDefault())); }
/// <summary> /// Begins an asynchronous request for searching video. /// </summary> /// <param name="keyword">The keyword.</param> /// <param name="resultCount">The count of result itmes.</param> /// <param name="callback">The <see cref="AsyncCallback"/> delegate.</param> /// <param name="state">An object containing state information for this asynchronous request.</param> /// <returns>An <see cref="IAsyncResult"/> that references the asynchronous request.</returns> public IAsyncResult BeginSearch(string keyword, int resultCount, AsyncCallback callback, object state) { return(this.BeginSearch(keyword, resultCount, SortType.GetDefault(), callback, state)); }
/// <summary> /// Begins an asynchronous request for searching the latest news of specified topic. /// </summary> /// <param name="topic">This optional argument tells the news search system to scope search results to a particular topic.</param> /// <param name="resultCount">The count of result itmes.</param> /// <param name="callback">The <see cref="AsyncCallback"/> delegate.</param> /// <param name="state">An object containing state information for this asynchronous request.</param> /// <returns>An <see cref="IAsyncResult"/> that references the asynchronous request.</returns> public IAsyncResult BeginSearchTopic(string topic, int resultCount, AsyncCallback callback, object state) { return(this.BeginSearchTopic(topic, resultCount, SortType.GetDefault(), null, NewsEdition.GetDefault(), callback, state)); }
/// <summary> /// Search the latest news of specified topic. /// </summary> /// <param name="topic">This optional argument tells the news search system to scope search results to a particular topic.</param> /// <param name="resultCount">The count of result itmes.</param> /// <returns>The result items.</returns> /// <remarks>Now, the max count of items Google given is <b>64</b>.</remarks> public IList <INewsResult> SearchTopic(string topic, int resultCount) { return(this.SearchTopic(topic, resultCount, SortType.GetDefault(), null, NewsEdition.GetDefault())); }
/// <summary> /// Search the latest local news. /// </summary> /// <param name="geo">A particular location of the news. You must supply either a city, state, country, or zip code as in "Santa Barbara" or "British Columbia" or "Peru" or "93108".</param> /// <param name="resultCount">The count of result itmes.</param> /// <returns>The result items.</returns> /// <remarks>Now, the max count of items Google given is <b>64</b>.</remarks> public IList <INewsResult> SearchLocal(string geo, int resultCount) { return(this.SearchLocal(geo, resultCount, SortType.GetDefault())); }
/// <summary> /// Search patents. /// </summary> /// <param name="keyword">The keyword.</param> /// <param name="resultCount">The count of result itmes.</param> /// <param name="issuedOnly">Whether restrict the search to ONLY patents that having been issued, skiping all patents that have only been filed.</param> /// <param name="filedOnly">Whether restrict the search to ONLY patents that only been filed, skipping over all patents that have been issued.</param> /// <returns>The result items.</returns> /// <remarks> /// When both issuedOnly and filedOnly are true, it equals to both are false. /// Now, the max count of items Google given is <b>64</b>. /// </remarks> public IList <IPatentResult> Search(string keyword, int resultCount, bool issuedOnly, bool filedOnly) { return(this.Search(keyword, resultCount, issuedOnly, filedOnly, SortType.GetDefault())); }
/// <summary> /// Search patents. /// </summary> /// <param name="keyword">The keyword.</param> /// <param name="resultCount">The count of result itmes.</param> /// <returns>The result items.</returns> /// <remarks> /// Now, the max count of items Google given is <b>64</b>. /// </remarks> public IList <IPatentResult> Search(string keyword, int resultCount) { return(this.Search(keyword, resultCount, false, false, SortType.GetDefault())); }