public ScriptFunction(Script script, String strName, ScorpioMethod method)
     : base(script)
 {
     this.m_Method = method;
     Initialize(strName, FunstionType.Method);
 }
示例#2
0
 public ScriptFunction CreateFunction(ScorpioMethod value)
 {
     return new ScriptFunction(this, value);
 }
 public ScriptFunction(Script script, ScorpioMethod method)
     : this(script, method.MethodName, method)
 {
 }
 public ScriptMethodFunction(Script script, String name, ScorpioMethod method) : base(script, name) {
     this.m_Method = method;
 }