Пример #1
0
 public void DownloadAsync(SearchService service, object userArgs)
 {
     this.DownloadAsync(new SearchService[] { service }, userArgs);
 }
Пример #2
0
 internal SearchService(SearchService original)
 {
     this.RestrictedSites = new System.ComponentModel.BindingList<Uri>();
     if (original != null)
     {
         this.Index = original.Index;
         this.Count = original.Count;
         this.Query = original.Query;
         if (original.Culture != null)
         {
             this.Culture = original.Culture.CloneStrict();
         }
         else
         {
             this.Culture = null;
         }
         if (original.RestrictedSites != null)
         {
             foreach (Uri siteRest in original.RestrictedSites)
             {
                 this.RestrictedSites.Add(siteRest);
             }
         }
     }
 }
 public Base.Response<SearchResult> Download(SearchService service)
 {
     return this.Download(new SearchService[] { service });
 }
 public Base.Response <SearchResult> Download(SearchService service)
 {
     return(this.Download(new SearchService[] { service }));
 }