Method | Description | |
---|---|---|
CacheCommonTypes ( ) : void |
Caches common types for fast lookup
|
|
GetType ( string typeData ) : |
Converts string parameter containing type into an actual type
|
|
GetTypeObj ( object typeData ) : |
Gets type information from object. If object is already a type, object is casted as a type and returned, if not, GetType is called.
|
|
TypeAssignMatch ( |
Heuristic attempt to ensure value given can be coerced into type given. Useful for temporary variable assignments. Doesn't work for most cases. Needs more work |
public static GetType ( string typeData ) : |
||
typeData | string | String containing type |
return |
public static GetTypeObj ( object typeData ) : |
||
typeData | object | Object to get the type of |
return |
public static TypeAssignMatch ( |
||
type | Type to attempt to coerce value to | |
value | dynamic | Value to coerce |
return | bool |