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)
828_loggingContext = new NodeLoggingContext(_loggingService, configuration.NodeId, false /* inProcNode */);
Microsoft.Build.Engine.UnitTests (13)
BackEnd\BuildRequestEngine_Tests.cs (4)
345_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false)); 376_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false)); 410_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false)); 465_engine.InitializeForBuild(new NodeLoggingContext(_host.LoggingService, 0, false));
BackEnd\IntrinsicTask_Tests.cs (2)
3957NodeLoggingContext nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false); 3992var 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)
1693return new ProjectLoggingContext(new NodeLoggingContext(_host, 1, false), entry);
BackEnd\TargetEntry_Tests.cs (1)
1193return new ProjectLoggingContext(new NodeLoggingContext(_host, 1, false), entry);
33 references to NodeLoggingContext
Microsoft.Build (22)
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 (7)
32internal ProjectLoggingContext(NodeLoggingContext nodeLoggingContext, BuildRequestEntry requestEntry) 53NodeLoggingContext nodeLoggingContext, 79NodeLoggingContext nodeLoggingContext, BuildRequestEntry requestEntry) 98NodeLoggingContext nodeLoggingContext, 117NodeLoggingContext nodeLoggingContext, 153NodeLoggingContext nodeLoggingContext, 184NodeLoggingContext 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)
24using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 84private NodeLoggingContext _nodeLoggingContext; 197public 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; 3957NodeLoggingContext nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false); 3992var 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)
23using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext;
BackEnd\TaskHost_Tests.cs (1)
1477public void BuildRequest(NodeLoggingContext nodeLoggingContext, BuildRequestEntry entry)