/// <summary>
        /// Executes current script returning result
        /// </summary>
        /// <returns>result of execution</returns>
        public object Execute()
        {
            object rez = Ast.Execute(Context);

            EventBroker.ClearAllEventsIfNeeded();
            return(rez);
        }
示例#2
0
文件: Script.cs 项目: singba/SSharp
 /// <summary>
 /// Executes current script returning result
 /// </summary>
 /// <returns>result of execution</returns>
 public object Execute()
 {
     return(Ast.Execute(Context));
 }