Documentation Coverage Report
Current view: top level - Ninject/Azure/Cqrs.Ninject.Azure.BlobStorage/Configuration - BlobStorageDataStoreModule.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.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="BlobStorageDataStoreConnectionStringFactory"/> as the <see cref="IBlobStorageDataStoreConnectionStringFactory"/>.
      16             :         /// </summary>
      17             :         public class BlobStorageDataStoreModule : 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 all the factories
      33             :                 /// </summary>
      34           1 :                 public virtual void RegisterFactories()
      35             :                 {
      36             :                         Bind<IBlobStorageDataStoreConnectionStringFactory>()
      37             :                                 .To<BlobStorageDataStoreConnectionStringFactory>()
      38             :                                 .InSingletonScope();
      39             :                 }
      40             :         }
      41             : }

Generated by: LCOV version 1.12