public CosmosDBCassandraExtensionConfigProvider(IOptions <CosmosDBCassandraOptions> options, ICosmosDBCassandraServiceFactory cosmosDBServiceFactory, IConfiguration configuration, INameResolver nameResolver, ILoggerFactory loggerFactory)
 {
     _configuration          = configuration;
     _cosmosDBServiceFactory = cosmosDBServiceFactory;
     _nameResolver           = nameResolver;
     _options       = options.Value;
     _loggerFactory = loggerFactory;
 }
Exemplo n.º 2
0
 public CosmosDBCassandraTriggerAttributeBindingProvider(IConfiguration configuration, INameResolver nameResolver, CosmosDBCassandraOptions options,
                                                         CosmosDBCassandraExtensionConfigProvider configProvider, ILoggerFactory loggerFactory)
 {
     _configuration  = configuration;
     _nameResolver   = nameResolver;
     _options        = options;
     _configProvider = configProvider;
     _logger         = loggerFactory.CreateLogger(LogCategories.CreateTriggerCategory("CosmosDB"));
 }