C# Class StringConvert, code

Datei anzeigen Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
AddConversion ( Func, conversion ) : int
Convert ( stringValue ) : T,
Convert ( stringValue, int supportedTypeIndex ) : T,
GetSupportedTypeIndex ( ) : int

Method Details

AddConversion() public method

public AddConversion ( Func, conversion ) : int
conversion Func,
return int

Convert() public method

public Convert ( stringValue ) : T,
return T,

Convert() public method

public Convert ( stringValue, int supportedTypeIndex ) : T,
supportedTypeIndex int
return T,

GetSupportedTypeIndex() public method

public GetSupportedTypeIndex ( ) : int
return int