Exemple #1
0
 public ServiceInfoFactory(Tags tags, string[] schemes)
 {
     ServiceInfoTags = tags ?? throw new ArgumentNullException(nameof(tags));
     UriSchemes      = schemes;
     if (schemes != null)
     {
         foreach (var s in schemes)
         {
             UriKeys.Add(s + "uri");
             UriKeys.Add(s + "url");
         }
     }
 }
 public MongoDbServiceInfoFactory()
     : base(new Tags("mongodb"), MongoDbServiceInfo.MONGODB_SCHEME)
 {
     // add the uri property used by the Microsoft Azure Service Broker with CosmosDb
     UriKeys.Add("cosmosdb_connection_string");
 }