コード例 #1
0
 public override object Call(ScriptObject[] parameters)
 {
     return(ScorpioDelegateFactory.CreateDelegate(m_Script, m_ValueType, parameters[0] as ScriptFunction));
 }
コード例 #2
0
 public override ScriptValue Call(ScriptValue thisObject, ScriptValue[] parameters, int length)
 {
     return(new ScriptValue(new ScriptUserdataDelegate(ScorpioDelegateFactory.CreateDelegate(m_ValueType, parameters[0].scriptValue))));
 }