CommandLineConfigurationProvider Constructor
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.
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)
Parameters
- args
- IEnumerable<String>
The command line args.
- switchMappings
- IDictionary<String,String>
The switch mappings.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.