Compartilhar via


CommandLineConfigurationProvider Construtor

Definição

Inicializa uma nova instância.

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)

Parâmetros

args
IEnumerable<String>

Os argumentos da linha de comando.

switchMappings
IDictionary<String,String>

Os mapeamentos de comutador.

Aplica-se a