Share via


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)

適用於