C# Class CommandLine.Core.OptionSpecification

Inheritance: Specification
Exibir arquivo Open project: cosmo0/commandline Class Usage Examples

Public Methods

Method Description
FromAttribute ( OptionAttribute attribute, System conversionType, System enumValues ) : OptionSpecification
OptionSpecification ( string shortName, string longName, bool required, string setName, int min, int max, Maybe defaultValue, System conversionType, string helpText, string metaValue, System enumValues ) : System

Method Details

FromAttribute() public static method

public static FromAttribute ( OptionAttribute attribute, System conversionType, System enumValues ) : OptionSpecification
attribute OptionAttribute
conversionType System
enumValues System
return OptionSpecification

OptionSpecification() public method

public OptionSpecification ( string shortName, string longName, bool required, string setName, int min, int max, Maybe defaultValue, System conversionType, string helpText, string metaValue, System enumValues ) : System
shortName string
longName string
required bool
setName string
min int
max int
defaultValue Maybe
conversionType System
helpText string
metaValue string
enumValues System
return System