Exemplo n.º 1
0
		public ExecutionContext (IExecutionHandler executionHandler, IConsoleFactory consoleFactory, ExecutionTarget target)
		{
			var targetedHandler = executionHandler as ITargetedExecutionHandler;
			if (targetedHandler != null)
				target = targetedHandler.Target ?? target;

			this.executionHandler = executionHandler;
			this.consoleFactory = consoleFactory;
			this.executionTarget = target;
		}
Exemplo n.º 2
0
        public ExecutionContext(IExecutionHandler executionHandler, IConsoleFactory consoleFactory, ExecutionTarget target)
        {
            var targetedHandler = executionHandler as ITargetedExecutionHandler;

            if (targetedHandler != null)
            {
                target = targetedHandler.Target ?? target;
            }

            this.executionHandler = executionHandler;
            this.consoleFactory   = consoleFactory;
            this.executionTarget  = target;
        }
Exemplo n.º 3
0
 public ConfigureRunner(
     IConfigureRunnerOptions options,
     IExternalAppPathProvider appPathProvider,
     IFileSystem fileSystem,
     IConsoleFactory consoleFactory,
     ILogger <ConfigureRunner> log) : base(
         options,
         log)
 {
     _appPathProvider = appPathProvider;
     _fileSystem      = fileSystem;
     _console         = consoleFactory.Create();
 }
		public ExecutionContext (IExecutionHandler executionHandler, IConsoleFactory consoleFactory)
		{
			this.executionHandler = executionHandler;
			this.consoleFactory = consoleFactory;
		}
Exemplo n.º 5
0
 public ExecutionContext(IExecutionHandler executionHandler, IConsoleFactory consoleFactory, ExecutionTarget target)
 {
     this.executionHandler = executionHandler;
     this.consoleFactory   = consoleFactory;
     this.executionTarget  = target;
 }
 public ExecutionContext(IExecutionMode executionMode, IConsoleFactory consoleFactory, ExecutionTarget target = null)
 {
     this.executionHandler = executionMode.ExecutionHandler;
     this.consoleFactory   = consoleFactory;
     this.executionTarget  = target;
 }
 public ExecutionContext(IExecutionHandler executionHandler, IConsoleFactory consoleFactory)
 {
     this.executionHandler = executionHandler;
     this.consoleFactory   = consoleFactory;
 }
Exemplo n.º 8
0
 public ExecutionContext(IExecutionMode executionMode, IConsoleFactory consoleFactory, ExecutionTarget target)
     : this(executionMode.ExecutionHandler, consoleFactory, target)
 {
 }
Exemplo n.º 9
0
		public ExecutionContext (IExecutionMode executionMode, IConsoleFactory consoleFactory, ExecutionTarget target)
			: this (executionMode.ExecutionHandler, consoleFactory, target)
		{
		}
		public ExecutionContext (IExecutionHandler executionHandler, IConsoleFactory consoleFactory, ExecutionTarget target = null)
		{
			this.executionHandler = executionHandler;
			this.consoleFactory = consoleFactory;
			this.executionTarget = target;
		}
Exemplo n.º 11
0
		public ExecutionContext (IExecutionMode executionMode, IConsoleFactory consoleFactory, ExecutionTarget target)
		{
			this.executionHandler = executionMode.ExecutionHandler;
			this.consoleFactory = consoleFactory;
			this.executionTarget = target;
		}