17 instantiations of NodeLoggingContext
Microsoft.Build (4)
BackEnd\Components\Scheduler\Scheduler.cs (2)
633_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService, InProcNodeId, true); 2131NodeLoggingContext nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true);
BackEnd\Node\InProcNode.cs (1)
487_loggingContext = new NodeLoggingContext(loggingService, configuration.NodeId, true /* inProcNode */);
BackEnd\Node\OutOfProcNode.cs (1)
824_loggingContext = new NodeLoggingContext(_loggingService, configuration.NodeId, false /* inProcNode */);
Microsoft.Build.Engine.UnitTests (13)
BackEnd\BuildRequestEngine_Tests.cs (4)
344_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false)); 375_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false)); 409_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false)); 464_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false));
BackEnd\IntrinsicTask_Tests.cs (2)
3867NodeLoggingContext nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false); 3902var nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false);
BackEnd\LoggingContext_Tests.cs (4)
33NodeLoggingContext context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true); 42NodeLoggingContext context2 = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 2, false); 62_ = new NodeLoggingContext(new MockLoggingService(), -2, true); 69NodeLoggingContext context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true);
BackEnd\RequestBuilder_Tests.cs (1)
336return new NodeLoggingContext(_host, 1, false);
BackEnd\TargetBuilder_Tests.cs (1)
1660return new ProjectLoggingContext(new NodeLoggingContext(_host, 1, false), entry);
BackEnd\TargetEntry_Tests.cs (1)
1190return new ProjectLoggingContext(new NodeLoggingContext(_host, 1, false), entry);
29 references to NodeLoggingContext
Microsoft.Build (18)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
101private NodeLoggingContext _nodeLoggingContext; 188public void InitializeForBuild(NodeLoggingContext loggingContext)
BackEnd\Components\BuildRequestEngine\IBuildRequestEngine.cs (2)
6using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 146void InitializeForBuild(NodeLoggingContext loggingContext);
BackEnd\Components\Logging\ProjectLoggingContext.cs (3)
31internal ProjectLoggingContext(NodeLoggingContext nodeLoggingContext, BuildRequestEntry requestEntry) 52NodeLoggingContext nodeLoggingContext, 77NodeLoggingContext nodeLoggingContext,
BackEnd\Components\RequestBuilder\IRequestBuilder.cs (2)
5using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 63void BuildRequest(NodeLoggingContext nodeLoggingContext, BuildRequestEntry entry);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
23using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 83private NodeLoggingContext _nodeLoggingContext; 196public void BuildRequest(NodeLoggingContext loggingContext, BuildRequestEntry entry)
BackEnd\Components\Scheduler\Scheduler.cs (3)
20using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 173private NodeLoggingContext _inprocNodeContext; 2131NodeLoggingContext nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true);
BackEnd\Node\InProcNode.cs (2)
15using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 44private NodeLoggingContext _loggingContext;
BackEnd\Node\OutOfProcNode.cs (1)
72private NodeLoggingContext _loggingContext;
Microsoft.Build.Engine.UnitTests (11)
BackEnd\BuildRequestEngine_Tests.cs (2)
22using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 81public void BuildRequest(NodeLoggingContext context, BuildRequestEntry entry)
BackEnd\IntrinsicTask_Tests.cs (3)
20using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 3867NodeLoggingContext nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false); 3902var nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false);
BackEnd\LoggingContext_Tests.cs (3)
33NodeLoggingContext context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true); 42NodeLoggingContext context2 = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 2, false); 69NodeLoggingContext context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true);
BackEnd\RequestBuilder_Tests.cs (1)
334private NodeLoggingContext GetNodeLoggingContext()
BackEnd\TargetBuilder_Tests.cs (1)
22using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext;
BackEnd\TaskHost_Tests.cs (1)
1477public void BuildRequest(NodeLoggingContext nodeLoggingContext, BuildRequestEntry entry)