CommandLineToolSwitch Class

Definition

Represents a single command line tool switch.

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

Constructors

CommandLineToolSwitch()

Initializes a new instance of the CommandLineToolSwitch.

CommandLineToolSwitch(CommandLineToolSwitchType)

Initializes a new instance of the CommandLineToolSwitch to hold the name, tool, attributes, dependent switches, and values.

Properties

AllowMultipleValues

Indicates whether multiple values are allowed.

ArgumentRequired

Gets or sets a value that indicates whether arguments are required in the command line tool switch.

Arguments

Gets or sets the arguments required for the command line tool switch.

BooleanValue

Gets or sets the Boolean value of the command line switch.

Description

Gets or sets the description of the single command line tool switch.

DisplayName

Gets or sets the display name of the switch.

FallbackArgumentParameter

Gets or sets the fallback parameter.

FalseSuffix

Gets or sets the suffix to use when the switch is false or negated.

IncludeInCommandLine

Gets or sets a value that indicates whether to include the command line tool switch in the command line.

IsValid

Gets or sets whether the switch is valid.

Name

Gets or sets the name of the switch.

Number

Gets or sets the value for integer type switches.

Overrides

Gets the overrides for the switch.

Parents

Gets the parents for the switch.

Required

Gets or sets whether the switch is required.

ReverseSwitchValue

Gets or sets the reverse switch text.

Reversible

Gets or sets whether the switch is reversible.

Separator

Gets or sets the separator between the switch and its arguments.

StringList

Gets or sets the collection of strings.

SwitchValue

Gets or sets the value for the switch.

TaskItemArray

Gets or sets an array of task items.

TrueSuffix

Gets or sets the suffix to use when the switch is true.

Type

Gets or sets the type of the switch.

Value

Gets or sets the value of the switch.

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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to