EnvironmentVariablesConfigurationProvider Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Naam | Description |
|---|---|
| EnvironmentVariablesConfigurationProvider() |
Initialiseert een nieuw exemplaar. |
| EnvironmentVariablesConfigurationProvider(String) |
Initialiseert een nieuw exemplaar met het opgegeven voorvoegsel. |
| EnvironmentVariablesConfigurationProvider(String, Func<String,String>) |
Initialiseert een nieuw exemplaar met het opgegeven voorvoegsel en de transformatie van de variabelenaam. |
EnvironmentVariablesConfigurationProvider()
Initialiseert een nieuw exemplaar.
public:
EnvironmentVariablesConfigurationProvider();
public EnvironmentVariablesConfigurationProvider();
Public Sub New ()
Van toepassing op
EnvironmentVariablesConfigurationProvider(String)
Initialiseert een nieuw exemplaar met het opgegeven voorvoegsel.
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)
Parameters
- prefix
- String
Een voorvoegsel dat wordt gebruikt om de omgevingsvariabelen te filteren.
Van toepassing op
EnvironmentVariablesConfigurationProvider(String, Func<String,String>)
Initialiseert een nieuw exemplaar met het opgegeven voorvoegsel en de transformatie van de variabelenaam.
public:
EnvironmentVariablesConfigurationProvider(System::String ^ prefix, Func<System::String ^, System::String ^> ^ variableNameTransformation);
public EnvironmentVariablesConfigurationProvider(string? prefix, Func<string,string>? variableNameTransformation);
new Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationProvider : string * Func<string, string> -> Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationProvider
Public Sub New (prefix As String, variableNameTransformation As Func(Of String, String))
Parameters
- prefix
- String
Een voorvoegsel dat wordt gebruikt om de omgevingsvariabelen te filteren.
Een functie waarmee namen van omgevingsvariabelen worden getransformeerd.
Wanneer null, DefaultTransformation wordt gebruikt.