EnvironmentVariablesConfigurationSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents environment variables as an IConfigurationSource.
public ref class EnvironmentVariablesConfigurationSource : Microsoft::Extensions::Configuration::IConfigurationSource
public class EnvironmentVariablesConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
type EnvironmentVariablesConfigurationSource = class
interface IConfigurationSource
Public Class EnvironmentVariablesConfigurationSource
Implements IConfigurationSource
- Inheritance
-
EnvironmentVariablesConfigurationSource
- Implements
Constructors
| Name | Description |
|---|---|
| EnvironmentVariablesConfigurationSource() |
Initializes a new instance of EnvironmentVariablesConfigurationSource. |
Properties
| Name | Description |
|---|---|
| ColonAndDotTransformation |
A transformation that replaces triple underscores ( |
| DefaultTransformation |
The default transformation that replaces double underscores ( |
| Prefix |
A prefix used to filter environment variables. |
| VariableNameTransformation |
Gets or sets a function that transforms environment variable names. When set, this
transformation replaces the default behavior of converting double
underscores to the configuration key delimiter. When |
Methods
| Name | Description |
|---|---|
| Build(IConfigurationBuilder) |
Builds the EnvironmentVariablesConfigurationProvider for this source. |