Class ApplicationSettingsConfigurationExtensions
- Namespace
- Acuit.Pinpoint.Configuration
- Assembly
- Acuit.Pinpoint.Configuration.dll
Extension methods for adding ApplicationSettingsConfigurationProvider.
public static class ApplicationSettingsConfigurationExtensions
- Inheritance
-
ApplicationSettingsConfigurationExtensions
- Inherited Members
Methods
AddApplicationSettings(IConfigurationBuilder, ApplicationSettingsBase, string)
Adds the legacy application configuration settings from the XML application configuration files provider to builder
.
public static IConfigurationBuilder AddApplicationSettings(this IConfigurationBuilder builder, ApplicationSettingsBase settings, string sectionKey)
Parameters
builder
IConfigurationBuilderThe IConfigurationBuilder to add to.
settings
ApplicationSettingsBaseThe application settings.
sectionKey
stringThe section key.
Returns
Exceptions
- ArgumentNullException
builder
is null.- ArgumentNullException
settings
is null.