Метод |
Описание |
|
AllowConfigurationEntriesThatDoNotHaveSettingsClasses ( bool allow ) : DoYourThingConfigurationConfigurator |
If set to false (default), ConfigInjector will blow up when there are settings in the [web|app].config file that do not have corresponding setting types in your application. |
|
DoYourThing ( ) : void |
|
|
ExcludeSettingKeys ( ) : DoYourThingConfigurationConfigurator |
|
|
ExcludeSettingKeys ( bool>.Func exclusionRule ) : DoYourThingConfigurationConfigurator |
|
|
WithAppSettingsOverrider ( ISettingsOverrider settingsOverrider ) : DoYourThingConfigurationConfigurator |
|
|
WithAppSettingsReader ( ISettingsReader settingsReader ) : DoYourThingConfigurationConfigurator |
This allows you to substitute your own application settings reader. A good use case for this is in having a unit/convention test suite that opens your application's app.config file (rather than the test project's one) and asserts that all configuration settings are present and accounted for. |
|
WithCustomValueParsers ( ) : DoYourThingConfigurationConfigurator |
|
|
WithLogger ( IConfigInjectorLogger logger ) : DoYourThingConfigurationConfigurator |
|
|
WithSettingKeyConventions ( ) : DoYourThingConfigurationConfigurator |
|
|