Extensions of
Microsoft.Extensions.Configuration.ConfigurationManager
- Namespace
- Songhay
.Extensions - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ConfigurationManagerExtensions"]
class Type type-node
Syntax
public static class ConfigurationManagerExtensions
Remarks
Several members in this class depend on
DeploymentEnvironment
constants.
Methods
Name | Return Value | Summary |
---|---|---|
Get |
string |
Gets the connection name from environment.
static
|
Get |
string |
Gets the connection name from environment.
static
|
Get |
string |
Gets the connection name from environment.
static
|
Get |
string |
Gets the connection name from environment.
static
|
Get |
Connection |
Gets the connection string settings.
static
|
Get |
Connection |
Gets the connection string settings.
static
|
GetEnvironmentName |
string |
Gets the name of the conventional deployment environment.
static
|
GetEnvironmentName |
string |
Gets the name of the conventional deployment environment.
static
|
GetEnvironmentName |
string |
Gets the name of the conventional deployment environment.
static
|
GetEnvironmentName |
string |
Gets the name of the conventional deployment environment.
static
|
Get |
string |
Gets the name of the key with environment.
static
|
Get |
string |
Gets the key with environment name.
static
|
Get |
string |
Gets the key with environment name.
static
|
Get |
string |
Gets the name of the key with environment.
static
|
GetSetting |
string |
Gets the setting from the current
KeyValueConfigurationCollection .
static
|
GetSetting |
string |
Gets the setting from the current
KeyValueConfigurationCollection .
static
|
GetSetting |
string |
Gets the setting from the current
KeyValueConfigurationCollection .
static
|
ToAppSettings |
Key |
Converts the external configuration file
to the application settings
KeyValueConfigurationCollection .
static
|
To |
Connection |
Converts the external configuration file
to the application settings
ConnectionStringSettingsCollection .
static
|
WithAppSettings |
Key |
Returns
KeyValueConfigurationCollection
with the application settings
of the specified external configuration XDocument .
static
|
With |
Connection |
Returns
ConnectionStringSettingsCollection
with the application settings
of the specified external configuration XDocument .
static
|