Пример #1
0
        /// <summary>
        /// <para>Executes the command.</para>
        /// </summary>
        /// <param name="node">
        /// <para>The node to execute on the command on.</para>
        /// </param>
        public void Execute(ConfigurationNode node)
        {
            CommandExecutingEventArgs e = new CommandExecutingEventArgs();

            OnExecuting(e);
            if (e.Cancel)
            {
                return;
            }
            UIService.ClearErrorDisplay();
            ExecuteCore(node);
            OnExecuted(new EventArgs());
            ClearErrorsBeforeExitingCommand();
        }