![]() |
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 Snapshot Store access. More...
Public Member Functions | |
MongoDbSnapshotStoreConnectionStringFactory (IConfigurationManager configurationManager, ILogger logger) | |
Instantiates a new instance of MongoDbSnapshotStoreConnectionStringFactory. More... | |
string | GetSnapshotStoreConnectionString () |
Gets the current connection string. More... | |
string | GetSnapshotStoreDatabaseName () |
Gets the current database name. More... | |
Static Public Attributes | |
static string | MongoDbConnectionNameApplicationKey = "Cqrs.MongoDb.SnapshotStore.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 | MongoDbDatabaseNameApplicationKey = "Cqrs.MongoDb.SnapshotStore.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 Snapshot Store access.