C# Class clipr.NamedArgumentAttribute

An argument triggered by either a short or long name.
Inheritance: clipr.Core.ArgumentAttribute, INamedArgument
Mostrar archivo Open project: nemec/clipr

Public Methods

Method Description
NamedArgumentAttribute ( char shortName ) : System

Create a new named argument with only a short name.

NamedArgumentAttribute ( char shortName, string longName ) : System

Create a new named argument with both a short and long name.

NamedArgumentAttribute ( string longName ) : System

Create a new named argument with only a long name.

Method Details

NamedArgumentAttribute() public method

Create a new named argument with only a short name.
public NamedArgumentAttribute ( char shortName ) : System
shortName char
return System

NamedArgumentAttribute() public method

Create a new named argument with both a short and long name.
public NamedArgumentAttribute ( char shortName, string longName ) : System
shortName char
longName string
return System

NamedArgumentAttribute() public method

Create a new named argument with only a long name.
public NamedArgumentAttribute ( string longName ) : System
longName string
return System