Documentation Coverage Report
Current view: top level - Ninject/Cqrs.Ninject.Mongo/Configuration - TestMongoModule.cs Hit Total Coverage
Version: 2.2 Artefacts: 2 2 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.Mongo.Factories;
      10             : using Ninject.Modules;
      11             : 
      12             : namespace Cqrs.Ninject.Mongo.Configuration
      13             : {
      14             :         /// <summary>
      15             :         /// A <see cref="INinjectModule"/> that wires up <see cref="TestMongoDataStoreConnectionStringFactory"/> as the
      16             :         /// <see cref="IMongoDataStoreConnectionStringFactory"/>.
      17             :         /// </summary>
      18             :         public class TestMongoModule : MongoModule
      19           1 :         {
      20             :                 /// <summary>
      21             :                 /// Register the all factories
      22             :                 /// </summary>
      23           1 :                 public override void RegisterFactories()
      24             :                 {
      25             :                         Bind<IMongoDataStoreConnectionStringFactory>()
      26             :                                 .To<TestMongoDataStoreConnectionStringFactory>()
      27             :                                 .InSingletonScope();
      28             :                 }
      29             :         }
      30             : }

Generated by: LCOV version 1.10