Documentation Coverage Report
Current view: top level - Azure/Cqrs.Azure.ConfigurationManager - CloudConfigurationManager.cs Hit Total Coverage
Version: 2.2 Artefacts: 2 2 100.0 %
Date: 2018-08-07 15:04:50

          Line data    Source code
       1             : namespace Cqrs.Azure.ConfigurationManager
       2             : {
       3             :         /// <summary>
       4             :         /// Provides access to configuration settings from the Azure Portal application settings. If no value is stored there it falls back to reading 
       5             :         /// app settings of an app.config or web.config... i.e. <see cref="System.Configuration.ConfigurationManager.AppSettings"/>
       6             :         /// </summary>
       7             :         public class CloudConfigurationManager : Configuration.ConfigurationManager
       8           1 :         {
       9             :                 #region Implementation of IConfigurationManager
      10             : 
      11             :                 /// <summary>
      12             :                 /// Read the setting named <paramref name="key"/>.
      13             :                 /// </summary>
      14             :                 /// <param name="key">The key (or name) of the setting to read.</param>
      15           1 :                 public override string GetSetting(string key)
      16             :                 {
      17             : #if DEBUG
      18             :                         return Microsoft.Azure.CloudConfigurationManager.GetSetting(key, true);
      19             : #else
      20             :                         return Microsoft.Azure.CloudConfigurationManager.GetSetting(key, false);
      21             : #endif
      22             :                 }
      23             : 
      24             :                 #endregion
      25             :         }
      26             : }

Generated by: LCOV version 1.12