![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
A factory for getting connection strings and database names for IEventStore<TAuthenticationToken> access. More...
Public Member Functions | |
MongoDbEventStoreConnectionStringFactory (IConfigurationManager configurationManager, ILogger logger) | |
Instantiates a new instance of MongoDbEventStoreConnectionStringFactory. More... | |
string | GetEventStoreConnectionString () |
Gets the current connection string. More... | |
string | GetEventStoreDatabaseName () |
Gets the current database name. More... | |
Static Public Attributes | |
static string | MongoDbConnectionStringKey = "CqrsMongoDbEventStore" |
Backwards compatibility with version 1. More... | |
static string | MongoDbConnectionNameApplicationKey = "Cqrs.MongoDb.EventStore.ConnectionStringName" |
The name of the app setting in IConfigurationManager that will have the name of the connection string of the MongoDB server. More... | |
static string | MongoDbDatabaseNameKey = "CqrsMongoDbEventStoreDatabaseName" |
Backwards compatibility with version 1. More... | |
static string | MongoDbDatabaseNameApplicationKey = "Cqrs.MongoDb.EventStore.DatabaseName" |
The name of the app setting in IConfigurationManager that will have the name of the database. More... | |
Properties | |
IConfigurationManager | ConfigurationManager [get] |
Gets or sets the IConfigurationManager. More... | |
ILogger | Logger [get] |
Gets or sets the ILogger. More... | |
A factory for getting connection strings and database names for IEventStore<TAuthenticationToken> access.