public FastReflectUserdataMethod(bool isStatic, Script script, Type type, string methodName, ScorpioMethodInfo[] methods, IScorpioFastReflectMethod fastMethod) { this.Initialize(isStatic, script, type, methodName, methods, fastMethod); }
public FunctionFastMethod(IScorpioFastReflectMethod Method, Type[] ParameterType, Type ParamType, bool Params, string ParameterTypes) : base(ParameterType, null, ParamType, Params, ParameterTypes) { this.IsGeneric = false; this.Method = Method; }
protected void Initialize(bool isStatic, Script script, Type type, string methodName, ScorpioMethodInfo[] methods, IScorpioFastReflectMethod fastMethod) { m_Script = script; m_IsStatic = isStatic; m_Type = type; m_MethodName = methodName; List <FunctionBase> functionMethod = new List <FunctionBase>(); foreach (ScorpioMethodInfo method in methods) { functionMethod.Add(new FunctionFastMethod(fastMethod, method.ParameterType, method.ParamType, method.Params, method.ParameterTypes)); } m_Methods = functionMethod.ToArray(); m_Count = m_Methods.Length; }
protected void Initialize(bool isStatic, Script script, Type type, string methodName, ScorpioMethodInfo[] methods, IScorpioFastReflectMethod fastMethod) { m_Script = script; m_IsStatic = isStatic; m_Type = type; m_MethodName = methodName; List<FunctionBase> functionMethod = new List<FunctionBase>(); foreach (ScorpioMethodInfo method in methods) { functionMethod.Add(new FunctionFastMethod(fastMethod, method.ParameterType, method.ParamType, method.Params, method.ParameterTypes)); } m_Methods = functionMethod.ToArray(); m_Count = m_Methods.Length; }
public FunctionFastMethod(IScorpioFastReflectMethod Method, Type[] ParameterType, Type ParamType, bool Params, string ParameterTypes) : base(ParameterType, ParamType, Params, ParameterTypes) { this.IsValid = true; this.Method = Method; }
protected void Initialize(bool isStatic, Script script, Type type, string methodName, ScorpioMethodInfo[] methods, IScorpioFastReflectMethod fastMethod) { this.m_Script = script; this.m_IsStatic = isStatic; this.m_Type = type; this.m_MethodName = methodName; List <FunctionBase> list = new List <FunctionBase>(); foreach (ScorpioMethodInfo info in methods) { list.Add(new FunctionFastMethod(fastMethod, info.ParameterType, info.ParamType, info.Params, info.ParameterTypes)); } this.m_Methods = list.ToArray(); this.m_Count = this.m_Methods.Length; }