C# Class Scorpio.Userdata.UserdataMethod

一个类的同名函数
Afficher le fichier Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Méthodes publiques

Méthode Description
Call ( object obj, ScriptObject parameters ) : object
MakeGenericMethod ( Type parameters ) : UserdataMethod
UserdataMethod ( ) : System

Méthodes protégées

Méthode 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

Méthode 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 méthode

public Call ( object obj, ScriptObject parameters ) : object
obj object
parameters Scorpio.ScriptObject
Résultat object

Initialize() protected méthode

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

Initialize() protected méthode

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

Initialize() protected méthode

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
Résultat void

MakeGenericMethod() public méthode

public MakeGenericMethod ( Type parameters ) : UserdataMethod
parameters System.Type
Résultat UserdataMethod

UserdataMethod() public méthode

public UserdataMethod ( ) : System
Résultat System