CommandLineConfiguration 类

定义

表示 使用的 Parser配置。

public ref class CommandLineConfiguration
public class CommandLineConfiguration
type CommandLineConfiguration = class
Public Class CommandLineConfiguration
继承
CommandLineConfiguration

构造函数

CommandLineConfiguration(Command, Boolean, Boolean, Boolean, LocalizationResources, ResponseFileHandling, IReadOnlyList<InvocationMiddleware>, Func<BindingContext, HelpBuilder>)

初始化 CommandLineConfiguration 类的新实例。

属性

EnableDirectives

获取是否启用指令。

EnableLegacyDoubleDashBehavior

启用令牌的 -- 旧行为,即忽略后续令牌分析并将其 UnparsedTokens 置于列表中。

EnablePosixBundling

获取是否启用 POSIX 捆绑。

LocalizationResources

获取可本地化的资源。

RootCommand

获取根命令。

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ThrowIfInvalid()

如果分析程序配置不明确或无效,则引发异常。

ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于