C# Class ConfigInjector.Infrastructure.SettingsRegistrationService

Stateful service for settings registration.
Datei anzeigen Open project: uglybugger/ConfigInjector Class Usage Examples

Public Methods

Method Description
RegisterConfigurationSettings ( ) : void
SettingsRegistrationService ( IConfigInjectorLogger logger, ITypeProvider typeProvider, ISettingKeyConvention settingKeyConventions, ISettingsReader settingsReader, ISettingsOverrider settingsOverrider, SettingValueConverter settingValueConverter, bool allowEntriesInWebConfigThatDoNotHaveSettingsClasses, Action registerAsSingleton ) : System

Private Methods

Method Description
AssertThatNoAdditionalSettingsExist ( ) : void
ConstructSettingObject ( Type type, string settingValueString ) : IConfigurationSetting
GetConfigSettingFor ( Type type ) : IConfigurationSetting
GetPossibleKeysFor ( Type type ) : IEnumerable
LoadConfigurationSettings ( ) : IConfigurationSetting[]
StronglyTypedSettingExistsFor ( string key ) : bool

Method Details

RegisterConfigurationSettings() public method

public RegisterConfigurationSettings ( ) : void
return void

SettingsRegistrationService() public method

public SettingsRegistrationService ( IConfigInjectorLogger logger, ITypeProvider typeProvider, ISettingKeyConvention settingKeyConventions, ISettingsReader settingsReader, ISettingsOverrider settingsOverrider, SettingValueConverter settingValueConverter, bool allowEntriesInWebConfigThatDoNotHaveSettingsClasses, Action registerAsSingleton ) : System
logger IConfigInjectorLogger
typeProvider ITypeProvider
settingKeyConventions ISettingKeyConvention
settingsReader ISettingsReader
settingsOverrider ISettingsOverrider
settingValueConverter SettingValueConverter
allowEntriesInWebConfigThatDoNotHaveSettingsClasses bool
registerAsSingleton Action
return System