<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="11.0.0-rc.2.26504.105" />

Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationSource

public class EnvironmentVariablesConfigurationSource : IConfigurationSource
Represents environment variables as an IConfigurationSource.
public static Func<string, string> ColonAndDotTransformation { get; }

A transformation that replaces triple underscores (___) with a dot (.) and double underscores (__) with the configuration key delimiter (:).

public static Func<string, string> DefaultTransformation { get; }

The default transformation that replaces double underscores (__) with the configuration key delimiter (:).

public string Prefix { get; set; }

A prefix used to filter environment variables.

public Func<string, string> VariableNameTransformation { get; set; }

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 null, DefaultTransformation is used.

public IConfigurationProvider Build(IConfigurationBuilder builder)

Builds the EnvironmentVariablesConfigurationProvider for this source.