Exemple #1
0
 public SearchProviderClient(string host)
 {
     this.baseUrl = host != null ? host : "http://127.0.0.1:7878/";
     if (!this.baseUrl.EndsWith("/"))
     {
         this.baseUrl += "/";
     }
     this.api     = new QuelleSearchProvider(this);
     this.vanilla = new QuelleSearchProviderVanilla(this);
 }
Exemple #2
0
 public SearchProviderClient(ISearchProvider inprocProvider)
 {
     this.baseUrl = "";
     if (!this.baseUrl.EndsWith("/"))
     {
         this.baseUrl += "/";
     }
     this.api     = new QuelleSearchProvider(inprocProvider);
     this.vanilla = new QuelleSearchProviderVanilla(this);
 }