Property | Type | Description | |
---|---|---|---|
Instance | |||
PARSE | string | ||
SYSTEM_CONVERT_TYPES | List |
Property | Type | Description | |
---|---|---|---|
m_registry | TypeDecoderRegistry |
Method | Description | |
---|---|---|
GetArg ( object o, |
||
GetArgs ( System.Property p, |
||
GetMultipleArgs ( System.Property p, |
Given an array of properties and an array of types, this method will create an array of objects by converting each property value (p[i].Value) into its appropriate type according to the Type array (types[i]).
|
|
HasDecoder ( |
Checks whether a decoder exists for a certain signature.
|
|
HasDecoder ( |
Checks whether a decoder exists for a certain signature.
|
|
HasDecoder ( string from, string to ) : bool |
Checks whether a decoder exists for a certain signature.
|
|
HasDecoder ( string from, string to, bool deep ) : bool |
Checks whether a decoder exists for a certain signature.
|
|
Register ( |
||
Register ( |
Register a new function for type decoding. The from and to types are automatically extracted.
|
|
Register ( |
Method | Description | |
---|---|---|
ConvertComplex ( |
Helper function to convert a property to a complex type.
|
|
ConvertComplex ( |
Utility function to convert an arbitrary object to a complex type.
|
|
ConvertPrimitive ( |
Helper function to convert a property's value to a primitive type (e.g. char, int, float, ...).
|
|
ConvertPrimitive ( |
Utility function to convert an arbitrary object to a primitive type using the object's Parse method (like the one in System.String).
|
|
SystemConvert ( |
Method | Description | |
---|---|---|
TypeDecoder ( ) : Uiml.Utils.Reflection |
protected ConvertComplex ( |
||
t | ||
p | System.Property | |
return | object |
protected ConvertComplex ( |
||
t | ||
oValue | object | |
return | object |
protected ConvertPrimitive ( |
||
t | ||
p | System.Property | |
return | object |
protected ConvertPrimitive ( |
||
t | ||
oValue | System | |
return | object |
public GetArg ( object o, |
||
o | object | |
t | ||
return | object |
public GetArgs ( System.Property p, |
||
p | System.Property | |
types | ||
return | object[] |
public GetMultipleArgs ( System.Property p, |
||
p | System.Property | |
types | ||
return | object[] |
public HasDecoder ( |
||
from | The type that we want to decode from | |
to | The type that we want to decode to | |
return | bool |
public HasDecoder ( |
||
from | The type that we want to decode from | |
to | The type that we want to decode to | |
deep | bool | If true, specifies that we want to include indirect type decoders (e.g. types A->C through A->B and B->C) |
return | bool |
public HasDecoder ( string from, string to ) : bool | ||
from | string | The name of the type that we want to decode from |
to | string | The name of the type that we want to decode to |
return | bool |
public HasDecoder ( string from, string to, bool deep ) : bool | ||
from | string | The name of the type that we want to decode from |
to | string | The name of the type that we want to decode to |
deep | bool | If true, specifies that we want to include indirect type decoders (e.g. types A->C through A->B and B->C) |
return | bool |
public Register ( |
||
a | ||
return | void |
public Register ( |
||
method | /// The function we want to register as a type decoder. /// | |
return | void |
protected SystemConvert ( |
||
t | ||
o | object | |
return | object |
public static TypeDecoder,Uiml.Rendering.TypeDecoding Instance | ||
return |
public static List |
||
return | List |