Method | Description | |
---|---|---|
IsTypeValidForParsing ( |
Determines whether specified type is valid for parsing.
|
|
ParseBool ( string value ) : bool |
Parses the boolean from string.
|
|
ParseDateTime ( string value, string format = null ) : System.DateTime |
Parses the date time from string.
|
|
ParseDecimal ( string value ) : decimal |
Parses the decimal from string.
|
|
ParseEnum ( string value, |
Parses the enum from string.
|
|
ParseInt ( string value ) : int |
Parses the int from string.
|
|
ParseLong ( string value ) : long |
Parses the long from string.
|
|
ParseNullableBool ( string value ) : bool? |
Parses the nullable boolean from string.
|
|
ParseNullableDateTime ( string value, string format = null ) : DateTime? |
Parses the date time from string.
|
|
ParseNullableDecimal ( string value ) : decimal? |
Parses the nullable decimal from string.
|
|
ParseNullableInt ( string value ) : int? |
Parses the nullable int from string.
|
|
ParseNullableLong ( string value ) : long? |
Parses the nullable long from string.
|
|
ParseString ( string value ) : string |
Parses the string.
|
|
ParseUndefined ( string value, |
Determine variable type and parses it from string.
|
public static IsTypeValidForParsing ( |
||
type | The type. | |
return | bool |
public static ParseBool ( string value ) : bool | ||
value | string | The value. |
return | bool |
public static ParseDateTime ( string value, string format = null ) : System.DateTime | ||
value | string | The value. |
format | string | The format. |
return | System.DateTime |
public static ParseDecimal ( string value ) : decimal | ||
value | string | The value. |
return | decimal |
public static ParseEnum ( string value, |
||
value | string | The value. |
enumType | Type of the enum. | |
return | object |
public static ParseInt ( string value ) : int | ||
value | string | The value. |
return | int |
public static ParseLong ( string value ) : long | ||
value | string | The value. |
return | long |
public static ParseNullableBool ( string value ) : bool? | ||
value | string | The value. |
return | bool? |
public static ParseNullableDateTime ( string value, string format = null ) : DateTime? | ||
value | string | The value. |
format | string | The format. |
return | DateTime? |
public static ParseNullableDecimal ( string value ) : decimal? | ||
value | string | The value. |
return | decimal? |
public static ParseNullableInt ( string value ) : int? | ||
value | string | The value. |
return | int? |
public static ParseNullableLong ( string value ) : long? | ||
value | string | The value. |
return | long? |
public static ParseString ( string value ) : string | ||
value | string | The value. |
return | string |
public static ParseUndefined ( string value, |
||
value | string | The value. |
parsingType | Type to parse. | |
format | string | The format. |
return | object |