메소드 | 설명 | |
---|---|---|
CanConvert ( |
||
Convert ( |
||
Convert ( |
Convert the input param into the desired type There are 3 possible cases when trying to convert: 1) Input data for conversion missing (input is null or an empty String) Returns default conversion value (based on desired type) and set |
메소드 | 설명 | |
---|---|---|
ConvertDate ( object input, bool &conversionSucceeded ) : object | ||
ConvertDecimal ( object input, bool &conversionSucceeded ) : object | ||
ConvertEnum ( |
||
ConvertGenericList ( |
||
ConvertGuid ( object input, bool &conversionSucceeded ) : object | ||
ConvertNullable ( |
||
ConvertPrimitive ( |
||
ConvertToArray ( |
||
ConvertUsingTypeConverter ( |
Support for types that specify a TypeConverter, i.e.: NullableTypes
|
|
FixInputForMonoIfNeeded ( |
Fix for mod_mono issue where array values are passed as a comma seperated String.
|
|
IsBool ( |
||
NormalizeInput ( object input ) : String | ||
SpecialBoolConversion ( string value, object input, bool &conversionSucceeded ) : object | ||
ThrowInformativeException ( |
public CanConvert ( |
||
desiredType | ||
inputType | ||
input | object | |
exactMatch | bool | |
리턴 | bool |
public Convert ( |
||
desiredType | ||
inputType | ||
input | object | |
conversionSucceeded | bool | |
리턴 | object |
public Convert ( |
||
desiredType | Type of the desired | |
input | object | The input |
conversionSucceeded | bool | if |
리턴 | object |