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.
Cqrs.MongoDB.Events.MongoDbEventStoreConnectionStringFactory Class Reference

A factory for getting connection strings and database names for IEventStore<TAuthenticationToken> access. More...

+ Inheritance diagram for Cqrs.MongoDB.Events.MongoDbEventStoreConnectionStringFactory:

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...
 

Detailed Description

A factory for getting connection strings and database names for IEventStore<TAuthenticationToken> access.