LCOV - code coverage report
Current view: top level - Ninject/Azure/Cqrs.Ninject.Azure.BlobStorage/Configuration - BlobStorageDataStoreModule.cs Hit Total Coverage
Test: doc-coverage.info Lines: 4 5 80.0 %
Date: 2017-07-26

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="cdmdotnet Limited">
       4             : // //   Copyright cdmdotnet 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             :         public class BlobStorageDataStoreModule : NinjectModule
      15           0 :         {
      16             :                 #region Overrides of NinjectModule
      17             : 
      18             :                 /// <summary>
      19             :                 /// Loads the module into the kernel.
      20             :                 /// </summary>
      21           1 :                 public override void Load()
      22             :                 {
      23             :                         RegisterFactories();
      24             :                         RegisterServices();
      25             :                         RegisterCqrsRequirements();
      26             :                 }
      27             : 
      28             :                 #endregion
      29             : 
      30             :                 /// <summary>
      31             :                 /// Register the all services
      32             :                 /// </summary>
      33           1 :                 public virtual void RegisterServices()
      34             :                 {
      35             :                 }
      36             : 
      37             :                 /// <summary>
      38             :                 /// Register the all factories
      39             :                 /// </summary>
      40           1 :                 public virtual void RegisterFactories()
      41             :                 {
      42             :                         Bind<IBlobStorageDataStoreConnectionStringFactory>()
      43             :                                 .To<BlobStorageDataStoreConnectionStringFactory>()
      44             :                                 .InSingletonScope();
      45             :                 }
      46             : 
      47             :                 /// <summary>
      48             :                 /// Register the all Cqrs command handlers
      49             :                 /// </summary>
      50           1 :                 public virtual void RegisterCqrsRequirements()
      51             :                 {
      52             :                 }
      53             :         }
      54             : }

Generated by: LCOV version 1.10