C# Class Scorpio.Userdata.UserdataMethod

一个类的同名函数
显示文件 Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Public Methods

Method Description
Call ( object obj, ScriptObject parameters ) : object
MakeGenericMethod ( Type parameters ) : UserdataMethod
UserdataMethod ( ) : System

Protected Methods

Method Description
Initialize ( Script script, Type type, string methodName, ConstructorInfo cons ) : void
Initialize ( Script script, Type type, string methodName, List methods ) : void
Initialize ( bool isStatic, Script script, Type type, string methodName, ScorpioMethodInfo methods, IScorpioFastReflectMethod fastMethod ) : void

Private Methods

Method Description
CheckArgsType ( ScriptObject parameters, Type types, Type paramType, int requiredNumber, int count ) : bool
CheckDefaultType ( ScriptObject parameters, Type types, int requiredNumber, int count ) : bool
CheckNormalType ( ScriptObject pars, Type types, int count ) : bool
Initialize_impl ( Type type, string methodName, List methods ) : void
UserdataMethod ( Script script, Type type, string methodName, List methods ) : System

Method Details

Call() public method

public Call ( object obj, ScriptObject parameters ) : object
obj object
parameters Scorpio.ScriptObject
return object

Initialize() protected method

protected Initialize ( Script script, Type type, string methodName, ConstructorInfo cons ) : void
script Script
type System.Type
methodName string
cons System.Reflection.ConstructorInfo
return void

Initialize() protected method

protected Initialize ( Script script, Type type, string methodName, List methods ) : void
script Script
type System.Type
methodName string
methods List
return void

Initialize() protected method

protected Initialize ( bool isStatic, Script script, Type type, string methodName, ScorpioMethodInfo methods, IScorpioFastReflectMethod fastMethod ) : void
isStatic bool
script Script
type System.Type
methodName string
methods ScorpioMethodInfo
fastMethod IScorpioFastReflectMethod
return void

MakeGenericMethod() public method

public MakeGenericMethod ( Type parameters ) : UserdataMethod
parameters System.Type
return UserdataMethod

UserdataMethod() public method

public UserdataMethod ( ) : System
return System