CommandLineConfigurationExtensions Class
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.
Extension methods for registering CommandLineConfigurationProvider with IConfigurationBuilder.
public ref class CommandLineConfigurationExtensions abstract sealed
public static class CommandLineConfigurationExtensions
type CommandLineConfigurationExtensions = class
Public Module CommandLineConfigurationExtensions
- Inheritance
-
CommandLineConfigurationExtensions
For more information and examples, see Command-line configuration provider.
Add |
Adds an IConfigurationProvider that reads configuration values from the command line. |
Add |
Adds a CommandLineConfigurationProviderIConfigurationProvider that reads configuration values from the command line using the specified switch mappings. |
Add |
Adds a CommandLineConfigurationProviderIConfigurationProvider that reads configuration values from the command line. |
Product | Versies |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: