C# Class Scorpio.Userdata.UserdataTypeFastReflect

Inheritance: UserdataType
Show file Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Public Methods

Method Description
CreateInstance ( Array parameters, int length ) : ScriptUserdata
GetMethod ( string name ) : UserdataMethod
GetValue ( object obj, string name ) : object
GetVariableType ( string name ) : Type
SetValue ( object obj, string name, ScriptValue value ) : void
UserdataTypeFastReflect ( Type type, ScorpioFastReflectClass value ) : System

Method Details

CreateInstance() public method

public CreateInstance ( Array parameters, int length ) : ScriptUserdata
parameters Array
length int
return ScriptUserdata

GetMethod() public method

public GetMethod ( string name ) : UserdataMethod
name string
return UserdataMethod

GetValue() public method

public GetValue ( object obj, string name ) : object
obj object
name string
return object

GetVariableType() public method

public GetVariableType ( string name ) : Type
name string
return Type

SetValue() public method

public SetValue ( object obj, string name, ScriptValue value ) : void
obj object
name string
value ScriptValue
return void

UserdataTypeFastReflect() public method

public UserdataTypeFastReflect ( Type type, ScorpioFastReflectClass value ) : System
type Type
value ScorpioFastReflectClass
return System