4 instantiations of TaskLoggingContext
Microsoft.Build (1)
BackEnd\Components\Logging\TargetLoggingContext.cs (1)
125
return new
TaskLoggingContext
(this, projectFullPath, task, taskAssemblyLocation);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\TaskExecutionHost_Tests.cs (2)
1001
_host.InitializeForBatch(new
TaskLoggingContext
(_loggingService, tlc.BuildEventContext), _bucket, null);
1030
_host.InitializeForBatch(new
TaskLoggingContext
(_loggingService, tlc.BuildEventContext), _bucket, null);
BackEnd\TaskHost_Tests.cs (1)
88
_taskHost.LoggingContext = new
TaskLoggingContext
(_loggingService, BuildEventContext.Invalid);
16 references to TaskLoggingContext
Microsoft.Build (15)
BackEnd\Components\Logging\TargetLoggingContext.cs (1)
121
internal
TaskLoggingContext
LogTaskBatchStarted(string projectFullPath, ProjectTargetInstanceChild task, string taskAssemblyLocation)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
29
using TaskLoggingContext = Microsoft.Build.BackEnd.Logging.
TaskLoggingContext
;
429
TaskLoggingContext
taskLoggingContext = _targetLoggingContext.LogTaskBatchStarted(_projectFullPath, _targetChildInstance, taskAssemblyLocation);
648
private async Task<WorkUnitResult> InitializeAndExecuteTask(
TaskLoggingContext
taskLoggingContext, ItemBucket bucket, IDictionary<string, string> taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask)
737
private async Task<WorkUnitResult> ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost,
TaskLoggingContext
taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
BackEnd\Components\RequestBuilder\TaskHost.cs (3)
26
using TaskLoggingContext = Microsoft.Build.BackEnd.Logging.
TaskLoggingContext
;
65
private
TaskLoggingContext
_taskLoggingContext;
211
internal
TaskLoggingContext
LoggingContext
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
98
private
TaskLoggingContext
_taskLoggingContext;
300
public bool InitializeForBatch(
TaskLoggingContext
loggingContext, ItemBucket batchBucket, IDictionary<string, string> taskIdentityParameters)
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
17
using TaskLoggingContext = Microsoft.Build.BackEnd.Logging.
TaskLoggingContext
;
69
private
TaskLoggingContext
_taskLoggingContext;
316
internal ITask CreateTaskInstance(ElementLocation taskLocation,
TaskLoggingContext
taskLoggingContext, IBuildComponentHost buildComponentHost, IDictionary<string, string> taskIdentityParameters,
Instance\TaskFactories\TaskHostTask.cs (2)
43
private
TaskLoggingContext
_taskLoggingContext;
132
TaskLoggingContext
taskLoggingContext,
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1269
TaskLoggingContext
talc = tlc.LogTaskBatchStarted(".", taskInstance, typeof(TaskBuilderTestTask.TaskBuilderTestTaskFactory).Assembly.GetName().FullName);