C# Class Uiml.Rendering.WXnet.WxTypeDecoder

Inheritance: TypeDecoder
ファイルを表示 Open project: jozilla/Uiml.net Class Usage Examples

Public Methods

Method Description
GetArg ( System o, Type t ) : Object
GetArgs ( System.Property p, Type types ) : System.Object[]
GetMultipleArgs ( System.Property p, Type types ) : System.Object[]

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 accoriding to the Type array (types[i])

WxTypeDecoder ( ) : System

Protected Methods

Method Description
ConvertComplex ( Type t, System.Property p ) : Object
ConvertComplex ( Type t, System oValue ) : Object

Method Details

ConvertComplex() protected method

protected ConvertComplex ( Type t, System.Property p ) : Object
t System.Type
p System.Property
return System.Object

ConvertComplex() protected method

protected ConvertComplex ( Type t, System oValue ) : Object
t System.Type
oValue System
return System.Object

GetArg() public method

public GetArg ( System o, Type t ) : Object
o System
t System.Type
return System.Object

GetArgs() public method

public GetArgs ( System.Property p, Type types ) : System.Object[]
p System.Property
types System.Type
return System.Object[]

GetMultipleArgs() public method

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 accoriding to the Type array (types[i])
public GetMultipleArgs ( System.Property p, Type types ) : System.Object[]
p System.Property
types System.Type
return System.Object[]

WxTypeDecoder() public method

public WxTypeDecoder ( ) : System
return System