CommandLineConfigurationProvider Constructor
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.
Initializes a new instance.
public CommandLineConfigurationProvider (System.Collections.Generic.IEnumerable<string> args, System.Collections.Generic.IDictionary<string,string>? switchMappings = default);
new Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationProvider : seq<string> * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationProvider
Public Sub New (args As IEnumerable(Of String), Optional switchMappings As IDictionary(Of String, String) = Nothing)
- args
- IEnumerable<String>
The command line args.
- switchMappings
- IDictionary<String,String>
The switch mappings.
Produkt | Versjoner |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: