public CommandArguments(BuildScriptArguments arguments) { MainCommands = arguments.MainCommands; ExecuteTargetsInParallel = arguments.ExecuteTargetsInParallel; NoDependencies = arguments.ExecuteTargetsInParallel; RethrowOnException = arguments.RethrowOnException; ScriptArguments = arguments.ScriptArguments; TargetsToExecute = arguments.TargetsToExecute; }
public ITaskSession CreateTaskSession(BuildScriptArguments buildScriptArguments) { CommandArguments commandArguments = new CommandArguments(buildScriptArguments); return(new TaskSession( LoggerFactory.CreateLogger <TaskSession>(), new TargetTree(ServiceProvider, commandArguments), commandArguments, new DotnetTaskFactory(ServiceProvider), new FluentInterfaceFactory(ServiceProvider), ServiceProvider.GetService <IBuildPropertiesSession>())); }