Documentation Coverage Report
Current view: top level - Azure/Cqrs.Azure.DocumentDb/Events - IAzureDocumentDbSnapshotStoreConnectionStringFactory.cs Hit Total Coverage
Version: 2.2 Artefacts: 3 3 100.0 %
Date: 2018-08-07 15:04:50

          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.Snapshots;
      10             : using Microsoft.Azure.Documents.Client;
      11             : 
      12             : namespace Cqrs.Azure.DocumentDb.Events
      13             : {
      14             :         /// <summary>
      15             :         /// A factory for getting connections and database names for <see cref="ISnapshotStore"/> access.
      16             :         /// </summary>
      17             :         public interface IAzureDocumentDbSnapshotStoreConnectionStringFactory
      18             :         {
      19             :                 /// <summary>
      20             :                 /// Gets the current <see cref="DocumentClient"/>.
      21             :                 /// </summary>
      22           1 :                 DocumentClient GetSnapshotStoreConnectionClient();
      23             : 
      24             :                 /// <summary>
      25             :                 /// Gets the current database name.
      26             :                 /// </summary>
      27           1 :                 string GetSnapshotStoreConnectionDatabaseName();
      28             : 
      29             :                 /// <summary>
      30             :                 /// Gets the current collection name.
      31             :                 /// </summary>
      32           1 :                 string GetSnapshotStoreConnectionCollectionName();
      33             :         }
      34             : }

Generated by: LCOV version 1.12