C# Class Ntreev.Library.Commands.Parser

Show file Open project: NtreevSoft/CommandLineParser

Public Methods

Method Description
GetItemType ( Type propertyType ) : Type
Parse ( SwitchDescriptor descriptor, string arg ) : object
ParseArray ( Type propertyType, string arg ) : object

Private Methods

Method Description
ParseArray ( SwitchDescriptor descriptor, string arg ) : object
ParseBoolean ( SwitchDescriptor descriptor, string arg ) : object
ParseDefault ( SwitchDescriptor descriptor, string arg ) : object

Method Details

GetItemType() public static method

public static GetItemType ( Type propertyType ) : Type
propertyType System.Type
return System.Type

Parse() public static method

public static Parse ( SwitchDescriptor descriptor, string arg ) : object
descriptor SwitchDescriptor
arg string
return object

ParseArray() public static method

public static ParseArray ( Type propertyType, string arg ) : object
propertyType System.Type
arg string
return object