Documentation Coverage Report
Current view: top level - Ninject/Azure/Cqrs.Ninject.Azure.BlobStorage/Configuration - TableStorageDataStoreModule.cs Hit Total Coverage
Version: 2.2 Artefacts: 3 3 100.0 %
Date: 2017-09-22

          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.Azure.BlobStorage.DataStores;
      10             : using Ninject.Modules;
      11             : 
      12             : namespace Cqrs.Ninject.Azure.BlobStorage.Configuration
      13             : {
      14             :         /// <summary>
      15             :         /// A <see cref="INinjectModule"/> that wires up <see cref="TableStorageDataStoreConnectionStringFactory"/> as the <see cref="ITableStorageDataStoreConnectionStringFactory"/>.
      16             :         /// </summary>
      17             :         public class TableStorageDataStoreModule : NinjectModule
      18           1 :         {
      19             :                 #region Overrides of NinjectModule
      20             : 
      21             :                 /// <summary>
      22             :                 /// Loads the module into the kernel.
      23             :                 /// </summary>
      24           1 :                 public override void Load()
      25             :                 {
      26             :                         RegisterFactories();
      27             :                 }
      28             : 
      29             :                 #endregion
      30             : 
      31             :                 /// <summary>
      32             :                 /// Register the all factories
      33             :                 /// </summary>
      34           1 :                 public virtual void RegisterFactories()
      35             :                 {
      36             :                         Bind<ITableStorageDataStoreConnectionStringFactory>()
      37             :                                 .To<TableStorageDataStoreConnectionStringFactory>()
      38             :                                 .InSingletonScope();
      39             :                 }
      40             :         }
      41             : }

Generated by: LCOV version 1.10