private ScorpioHandle m_Handle;                                         //程序函数执行类
 public ScriptHandleFunction(Script script, ScorpioHandle handle) : this(script, handle.GetType().FullName, handle) { }
 public ScriptHandleFunction(Script script, String name, ScorpioHandle handle) : base(script, name) {
     this.m_Handle = handle;
 }
 public ScriptFunction(Script script, String strName, ScorpioHandle handle)
     : base(script)
 {
     this.m_Handle = handle;
     Initialize(strName, FunstionType.Handle);
 }
Exemple #4
0
 public ScriptFunction CreateFunction(ScorpioHandle value)
 {
     return(new ScriptHandleFunction(this, value));
 }
Exemple #5
0
 public ScriptFunction CreateFunction(ScorpioHandle value)
 {
     return new ScriptFunction(this, value);
 }
Exemple #6
0
 public ScriptFunction(Script script, String strName, ScorpioHandle handle) : base(script)
 {
     this.m_Handle = handle;
     Initialize(strName, FunstionType.Handle);
 }
Exemple #7
0
 public ScriptFunction(Script script, ScorpioHandle handle) : this(script, handle.GetType().Name, handle)
 {
 }
 public ScriptHandleFunction(Script script, string name, ScorpioHandle handle) : base(script, name)
 {
     m_Handle = handle;
 }
 public ScriptHandleBindFunction(Script script, string name, ScorpioHandle handle, ScriptValue bindObject) : base(script, name, handle)
 {
     m_BindObject = bindObject;
 }