C# Class CommandLine.OptionInfo

Datei anzeigen Open project: ErikEJ/SqlQueryStress Class Usage Examples

Public Methods

Method Description
CreateMap ( object target ) : IOptionMap
OptionInfo ( OptionAttribute attribute, FieldInfo field ) : System
SetValue ( bool value, object options ) : bool
SetValue ( string value, object options ) : bool
SetValueList ( string value, object options ) : bool
SetValueScalar ( string value, object options ) : bool

Private Methods

Method Description
OptionInfo ( string shortName, string longName ) : System

Method Details

CreateMap() public static method

public static CreateMap ( object target ) : IOptionMap
target object
return IOptionMap

OptionInfo() public method

public OptionInfo ( OptionAttribute attribute, FieldInfo field ) : System
attribute OptionAttribute
field System.Reflection.FieldInfo
return System

SetValue() public method

public SetValue ( bool value, object options ) : bool
value bool
options object
return bool

SetValue() public method

public SetValue ( string value, object options ) : bool
value string
options object
return bool

SetValueList() public method

public SetValueList ( string value, object options ) : bool
value string
options object
return bool

SetValueScalar() public method

public SetValueScalar ( string value, object options ) : bool
value string
options object
return bool