Microsoft.Extensions.Configuration.CommandLine 命名空间

包含用于从命令行输入获取配置数据的类和接口。

名称 说明
CommandLineConfigurationProvider

提供从命令行获取的配置键值对。

CommandLineConfigurationSource

将命令行参数表示为 .IConfigurationSource