Documentation Coverage Report
Current view: top level - Ninject/Azure/Cqrs.Ninject.Azure.Wcf/Configuration - WcfStartUp.cs Hit Total Coverage
Version: 4.0 Artefacts: 2 2 100.0 %
Date: 2019-11-24 03:15:41

          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.Authentication;
      10             : using Cqrs.Configuration;
      11             : using Cqrs.Ninject.Configuration;
      12             : 
      13             : namespace Cqrs.Ninject.Azure.Wcf.Configuration
      14             : {
      15             : 
      16             :         /// <summary>
      17             :         /// Referenced internally.
      18             :         /// </summary>
      19             :         class WcfStartUp : SimplifiedNinjectStartUp<WebHostModule>
      20           1 :         {
      21             :                 /// <summary>
      22             :                 /// Instantiate a new instance of <see cref="WcfStartUp"/>
      23             :                 /// </summary>
      24           1 :                 public WcfStartUp(IConfigurationManager configurationManager)
      25             :                         : base(configurationManager)
      26             :                 {
      27             :                 }
      28             : 
      29             :                 #region Overrides of SimplifiedNinjectStartUp<WebHostModule>
      30             : 
      31             : #if NET472
      32             :                 /// <summary>
      33             :                 /// Adds the <see cref="SimplifiedSqlModule{TAuthenticationToken}"/> into <see cref="NinjectDependencyResolver.ModulesToLoad"/>.
      34             :                 /// </summary>
      35             :                 protected override void AddSupplementryModules()
      36             :                 {
      37             :                         NinjectDependencyResolver.ModulesToLoad.Insert(2, new SimplifiedSqlModule<SingleSignOnToken>());
      38             :                 }
      39             : #endif
      40             : 
      41             :                 #endregion
      42             :         }
      43             : }

Generated by: LCOV version 1.13