CommandLine
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Properties | List of all members
CommandLine.ValueAttribute Class Reference

Models an value specification, or better how to handle values not bound to options. More...

Inheritance diagram for CommandLine.ValueAttribute:

Public Member Functions

 ValueAttribute (int index)
 Initializes a new instance of the CommandLine.ValueAttribute class. More...
 

Properties

int Index [get]
 Gets the position this option has on the command line. More...
 
bool Required [get, set]
 Gets or sets a value indicating whether a command line option is required. More...
 
int Min [get, set]
 When applied to System.Collections.Generic.IEnumerable{T} properties defines the lower range of items. More...
 
int Max [get, set]
 When applied to System.Collections.Generic.IEnumerable{T} properties defines the upper range of items. More...
 
object DefaultValue [get, set]
 Gets or sets mapped property default value. More...
 

Detailed Description

Models an value specification, or better how to handle values not bound to options.

Constructor & Destructor Documentation

CommandLine.ValueAttribute.ValueAttribute ( int  index)
inline

Initializes a new instance of the CommandLine.ValueAttribute class.

Property Documentation

object CommandLine.ValueAttribute.DefaultValue
getset

Gets or sets mapped property default value.

int CommandLine.ValueAttribute.Index
get

Gets the position this option has on the command line.

int CommandLine.ValueAttribute.Max
getset

When applied to System.Collections.Generic.IEnumerable{T} properties defines the upper range of items.

If not set, no upper range is enforced.

int CommandLine.ValueAttribute.Min
getset

When applied to System.Collections.Generic.IEnumerable{T} properties defines the lower range of items.

If not set, no lower range is enforced.

bool CommandLine.ValueAttribute.Required
getset

Gets or sets a value indicating whether a command line option is required.


The documentation for this class was generated from the following file: