EnvironmentVariablesConfigurationProvider 构造函数

定义

重载

EnvironmentVariablesConfigurationProvider()

初始化一个新实例。

EnvironmentVariablesConfigurationProvider(String)

使用指定的前缀初始化新实例。

EnvironmentVariablesConfigurationProvider()

Source:
EnvironmentVariablesConfigurationProvider.cs
Source:
EnvironmentVariablesConfigurationProvider.cs
Source:
EnvironmentVariablesConfigurationProvider.cs

初始化一个新实例。

public:
 EnvironmentVariablesConfigurationProvider();
public EnvironmentVariablesConfigurationProvider ();
Public Sub New ()

适用于

EnvironmentVariablesConfigurationProvider(String)

Source:
EnvironmentVariablesConfigurationProvider.cs
Source:
EnvironmentVariablesConfigurationProvider.cs
Source:
EnvironmentVariablesConfigurationProvider.cs

使用指定的前缀初始化新实例。

public:
 EnvironmentVariablesConfigurationProvider(System::String ^ prefix);
public EnvironmentVariablesConfigurationProvider (string? prefix);
new Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationProvider : string -> Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationProvider
Public Sub New (prefix As String)

参数

prefix
String

用于筛选环境变量的前缀。

适用于