Пример #1
0
        /// <summary>
        /// Run the script
        /// </summary>
        public void Run()
        {
            if (Code == "")
            {
                return;
            }

            try
            {
                Context.Activate();
                _root.Evaluate(Context);
            }
            finally
            {
                Context.Deactivate();
            }
        }