Exemplo n.º 1
0
            public BuildTaskLoggers(MSBuildFramework.IBuildEngine buildEngine, ITask task, IArgumentProvider arguments)
            {
                BuildLogger logger = new BuildLogger(buildEngine, task.GetType().ToString());

                this.RegisterLogger(LoggerType.Result, logger);
                this.RegisterLogger(LoggerType.Status, logger);
            }
Exemplo n.º 2
0
 public static ITaskInteraction Create(
     MSBuildFramework.IBuildEngine buildEngine,
     ITaskOutputHandler outputHandler,
     ITask task,
     IArgumentProvider arguments,
     ITypedServiceProvider services)
 {
     return(new BuildTaskInteraction(task, arguments, outputHandler, buildEngine, services));
 }
Exemplo n.º 3
0
 private BuildTaskInteraction(
     ITask task,
     IArgumentProvider arguments,
     ITaskOutputHandler outputHandler,
     MSBuildFramework.IBuildEngine buildEngine,
     ITypedServiceProvider services)
     : base(arguments, services)
 {
     this.outputHandler = outputHandler;
     this.loggers       = new Lazy <BuildTaskLoggers>(() => new BuildTaskLoggers(buildEngine, task, arguments));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Execution handler for tasks running under MSBuild.
 /// </summary>
 /// <param name="services">Override services, can be null. Used to get services before falling back on defaults.</param>
 public BuildTaskExecution(MSBuildFramework.IBuildEngine buildEngine, ITaskOutputHandler outputHandler, IArgumentProvider argumentProvider, ITaskRegistry taskRegistry, ITypedServiceProvider services = null)
     : base(argumentProvider, taskRegistry, services)
 {
     _outputHandler = outputHandler;
     _buildEngine   = buildEngine;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Execution handler for tasks running under MSBuild.
 /// </summary>
 /// <param name="services">Override services, can be null. Used to get services before falling back on defaults.</param>
 public BuildTaskExecution(MSBuildFramework.IBuildEngine buildEngine, ITaskOutputHandler outputHandler, IArgumentProvider argumentProvider, ITaskRegistry taskRegistry, ITypedServiceProvider services = null)
     : base(argumentProvider, taskRegistry, services)
 {
     this.outputHandler = outputHandler;
     this.buildEngine = buildEngine;
 }