Exemplo n.º 1
0
		public void Run(IPackageAction action)
		{
			if (ShouldRunActionInConsole(action)) {
				consolePackageActionRunner.Run(action);
			} else {
				action.Execute();
			}
		}
Exemplo n.º 2
0
		public void Run(IPackageAction action)
		{
			if (ShouldRunActionInConsole(action)) {
				ReportScriptsWillNotBeRun();
			}
			
			action.Execute();
		}
Exemplo n.º 3
0
        public void Run(IPackageAction action)
        {
            if (ShouldRunActionInConsole(action))
            {
                ReportScriptsWillNotBeRun();
            }

            action.Execute();
        }
Exemplo n.º 4
0
        /// <summary>
        /// Calls an update method related with given button on the configuration GUI.
        /// </summary>
        public void UpdateExecute(Type actionType, EventArgs e)
        {
            IPackageAction action = actions.Get(actionType);

            if (action != null)
            {
                action.Execute(null, e);
            }
        }
Exemplo n.º 5
0
 public void Run(IPackageAction action)
 {
     if (ShouldRunActionInConsole(action))
     {
         consolePackageActionRunner.Run(action);
     }
     else
     {
         action.Execute();
     }
 }
		void Execute(IPackageAction action)
		{
			action.PackageScriptRunner = this;
			action.Execute();
		}
 void Execute(IPackageAction action)
 {
     action.PackageScriptRunner = this;
     action.Execute();
 }