Exemplo n.º 1
0
 public bool Equals(SolrUriBuilder obj)
 {
     if (obj == null)
     {
         return(false);
     }
     return(Uri.Equals(obj.Uri));
 }
Exemplo n.º 2
0
 protected SolrUriBuilder(SolrUriBuilder server, string core, string handler)
 {
     if (server == null) throw new ArgumentNullException("server");
     if (!server.IsBaseUrl) throw new ArgumentException("server");
     ServerAddress = server.ServerAddress;
     Core = core;
     Handler = handler;
     Query = new NamedList<string>();
 }
Exemplo n.º 3
0
 protected SolrUriBuilder(SolrUriBuilder server, string core, string handler)
 {
     if (server == null)
     {
         throw new ArgumentNullException("server");
     }
     if (!server.IsBaseUrl)
     {
         throw new ArgumentException("server");
     }
     ServerAddress = server.ServerAddress;
     Core          = core;
     Handler       = handler;
     Query         = new NamedList <string>();
 }
Exemplo n.º 4
0
 public bool Equals(SolrUriBuilder obj)
 {
     if (obj == null) return false;
     return Uri.Equals(obj.Uri);
 }