Line data Source code
1 : #region Copyright
2 : // // -----------------------------------------------------------------------
3 : // // <copyright company="Chinchilla Software Limited">
4 : // // Copyright Chinchilla Software Limited. All rights reserved.
5 : // // </copyright>
6 : // // -----------------------------------------------------------------------
7 : #endregion
8 :
9 : using Cqrs.Events;
10 :
11 : namespace Cqrs.MongoDB.Events
12 : {
13 : /// <summary>
14 : /// A factory for getting connection strings and database names for <see cref="IEventStore{TAuthenticationToken}"/> access.
15 : /// </summary>
16 : public interface IMongoDbEventStoreConnectionStringFactory
17 : {
18 : /// <summary>
19 : /// Gets the current connection string.
20 : /// </summary>
21 1 : string GetEventStoreConnectionString();
22 :
23 : /// <summary>
24 : /// Gets the current database name.
25 : /// </summary>
26 1 : string GetEventStoreDatabaseName();
27 : }
28 : }
|