17 instantiations of NodeLoggingContext
Microsoft.Build (4)
BackEnd\Components\Scheduler\Scheduler.cs (2)
632_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService, InProcNodeId, true); 2127NodeLoggingContext nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true);
BackEnd\Node\InProcNode.cs (1)
497_loggingContext = new NodeLoggingContext(loggingService, configuration.NodeId, true /* inProcNode */);
BackEnd\Node\OutOfProcNode.cs (1)
840_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)
3956NodeLoggingContext nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false); 3991var nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false);
BackEnd\LoggingContext_Tests.cs (4)
32NodeLoggingContext context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true); 41NodeLoggingContext context2 = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 2, false); 61_ = new NodeLoggingContext(new MockLoggingService(), -2, true); 68NodeLoggingContext 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)
1692return new ProjectLoggingContext(new NodeLoggingContext(_host, 1, false), entry);
BackEnd\TargetEntry_Tests.cs (1)
1192return 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)
31internal ProjectLoggingContext(NodeLoggingContext nodeLoggingContext, BuildRequestEntry requestEntry) 52NodeLoggingContext nodeLoggingContext, 78NodeLoggingContext nodeLoggingContext, BuildRequestEntry requestEntry) 97NodeLoggingContext nodeLoggingContext, 116NodeLoggingContext nodeLoggingContext, 152NodeLoggingContext nodeLoggingContext, 183NodeLoggingContext 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)
19using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 172private NodeLoggingContext _inprocNodeContext; 2127NodeLoggingContext 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)
74private NodeLoggingContext _loggingContext;
Microsoft.Build.Engine.UnitTests (11)
BackEnd\BuildRequestEngine_Tests.cs (2)
21using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 80public void BuildRequest(NodeLoggingContext context, BuildRequestEntry entry)
BackEnd\IntrinsicTask_Tests.cs (3)
19using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.NodeLoggingContext; 3956NodeLoggingContext nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false); 3991var nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false);
BackEnd\LoggingContext_Tests.cs (3)
32NodeLoggingContext context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true); 41NodeLoggingContext context2 = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 2, false); 68NodeLoggingContext 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)