コード例 #1
0
        /// <summary>
        /// Executes the compiled script.
        /// </summary>
        /// <param name="engine"> The script engine to use to execute the script. </param>
        /// <exception cref="ArgumentNullException"> <paramref name="engine"/> is a <c>null</c> reference. </exception>
        public void Execute(ScriptEngine engine)
        {
            methodGen.Execute(engine);

            // Execute any pending callbacks.
            engine.ExecutePendingCallbacks();
        }