CommandLineConfigurationExtensions Klasse

Definition

Erweiterungsmethoden für die Registrierung CommandLineConfigurationProvider bei IConfigurationBuilder.

public ref class CommandLineConfigurationExtensions abstract sealed
public static class CommandLineConfigurationExtensions
type CommandLineConfigurationExtensions = class
Public Module CommandLineConfigurationExtensions
Vererbung
CommandLineConfigurationExtensions

Hinweise

Weitere Informationen und Beispiele finden Sie unter Befehlszeilenkonfigurationsanbieter.

Methoden

Name Beschreibung
AddCommandLine(IConfigurationBuilder, Action<CommandLineConfigurationSource>)

Fügt einen IConfigurationProvider Wert hinzu, der Konfigurationswerte aus der Befehlszeile liest.

AddCommandLine(IConfigurationBuilder, String[], IDictionary<String,String>)

Fügt einen CommandLineConfigurationProviderIConfigurationProvider Wert hinzu, der Konfigurationswerte aus der Befehlszeile mithilfe der angegebenen Switchzuordnungen liest.

AddCommandLine(IConfigurationBuilder, String[])

Fügt einen CommandLineConfigurationProviderIConfigurationProvider Wert hinzu, der Konfigurationswerte aus der Befehlszeile liest.

Gilt für: