/// <summary> /// Invoke a static method on the script /// </summary> /// <param name="classname">The classname to use</param> /// <param name="methodname">The method name</param> /// <param name="args">The arguments</param> /// <returns>The return value of the method</returns> public object Invoke(string classname, string methodname, params object[] args) { return(ScriptUtils.Invoke(this, classname, methodname, args)); }
/// <summary> /// Invoke a static method on the script using internal classname /// </summary> /// <param name="methodname">The method name</param> /// <param name="args">The arguments</param> /// <returns>The return value of the method</returns> public object Invoke(string methodname, params object[] args) { return(ScriptUtils.Invoke(_container, _classname, methodname, args)); }