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