public SolrCloudCollection(string name, SolrCloudRouter router, IDictionary<string, SolrCloudShard> shards)
 {
     if (router == null)
         throw new ArgumentNullException("router");
     if (shards == null)
         throw new ArgumentNullException("shards");
     Name = name;
     Router = router;
     Shards = shards;
 }
Example #2
0
 public SolrCloudCollection(string name, SolrCloudRouter router, IDictionary <string, SolrCloudShard> shards)
 {
     if (router == null)
     {
         throw new ArgumentNullException("router");
     }
     if (shards == null)
     {
         throw new ArgumentNullException("shards");
     }
     Name   = name;
     Router = router;
     Shards = shards;
 }