C# Class Mercurial.Attributes.EnumArgumentAttribute

Inheritance: ArgumentAttribute
Mostrar archivo Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
EnumArgumentAttribute ( object value, string argument1 ) : System

Initializes a new instance of the EnumArgumentAttribute class with one argument for the enum value.

EnumArgumentAttribute ( object value, string argument1, string argument2 ) : System

Initializes a new instance of the EnumArgumentAttribute class with two arguments for the enum value.

GetOptions ( object propertyValue ) : string[]

Gets a collection of options or arguments to pass to the Mercurial executable, based on the property value from the command class.

Method Details

EnumArgumentAttribute() public method

Initializes a new instance of the EnumArgumentAttribute class with one argument for the enum value.
public EnumArgumentAttribute ( object value, string argument1 ) : System
value object The enum value.
argument1 string The argument.
return System

EnumArgumentAttribute() public method

Initializes a new instance of the EnumArgumentAttribute class with two arguments for the enum value.
public EnumArgumentAttribute ( object value, string argument1, string argument2 ) : System
value object The enum value.
argument1 string The first argument.
argument2 string The second argument.
return System

GetOptions() public method

Gets a collection of options or arguments to pass to the Mercurial executable, based on the property value from the command class.
public GetOptions ( object propertyValue ) : string[]
propertyValue object /// The property value from the tagged property of the command class. ///
return string[]