Beispiel #1
0
 public static IConfigurationBuilder AddCosmosConfigurationProvider(this IConfigurationBuilder builder,
                                                                    string connectionString, IConfiguration configureOptions, Action <CosmosStorageOptions> configureDatabase = null, bool reloadOnChange = false,
                                                                    IConfiguration configSeed = null)
 {
     return(builder.AddCosmosConfigurationProvider(o =>
     {
         DefaultStorageOptions(connectionString, o);
         configureDatabase?.Invoke(o);
     },
                                                   configureOptions.FastBind,
                                                   reloadOnChange, configSeed));
 }