Rediger

Del via


CommandLineConfiguration Class

Definition

Represents the configuration used by the Parser.

public ref class CommandLineConfiguration
public class CommandLineConfiguration
type CommandLineConfiguration = class
Public Class CommandLineConfiguration
Inheritance
CommandLineConfiguration

Constructors

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

Initializes a new instance of the CommandLineConfiguration class.

Properties

EnableDirectives

Gets whether directives are enabled.

EnableLegacyDoubleDashBehavior

Enables the legacy behavior of the -- token, which is to ignore parsing of subsequent tokens and place them in the UnparsedTokens list.

EnablePosixBundling

Gets whether POSIX bundling is enabled.

LocalizationResources

Gets the localizable resources.

RootCommand

Gets the root command.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ThrowIfInvalid()

Throws an exception if the parser configuration is ambiguous or otherwise not valid.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to