public TorqueCallBackInfo(TorqueCallBack tcb, MethodInfo mi, ParameterInfo[] pi) { _mMaxArgs = tcb.TorqueMaxArgs; _mTorqueClassname = tcb.TorqueClassname; _mTorqueFunction = tcb.TorqueFunction; TorqueUsage = tcb.TorqueUsage; FunctionInvoke = mi; Functionweight = tcb.FunctionWeight; TorquePackageName = tcb.TorquePackageName; ExecuteAfterCompile = tcb.ExecuteAfterCompile; FunctionParams = pi; }