17 instantiations of NodeLoggingContext
Microsoft.Build (4)
BackEnd\Components\Scheduler\Scheduler.cs (2)
633
_inprocNodeContext = new
NodeLoggingContext
(_componentHost.LoggingService, InProcNodeId, true);
2131
NodeLoggingContext 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)
3957
NodeLoggingContext nodeContext = new
NodeLoggingContext
(new MockLoggingService(), 1, false);
3992
var nodeContext = new
NodeLoggingContext
(new MockLoggingService(), 1, false);
BackEnd\LoggingContext_Tests.cs (4)
33
NodeLoggingContext context = new
NodeLoggingContext
(new MockLoggingService(_output.WriteLine), 1, true);
42
NodeLoggingContext context2 = new
NodeLoggingContext
(new MockLoggingService(_output.WriteLine), 2, false);
62
_ = new
NodeLoggingContext
(new MockLoggingService(), -2, true);
69
NodeLoggingContext context = new
NodeLoggingContext
(new MockLoggingService(_output.WriteLine), 1, true);
BackEnd\RequestBuilder_Tests.cs (1)
336
return new
NodeLoggingContext
(_host, 1, false);
BackEnd\TargetBuilder_Tests.cs (1)
1693
return new ProjectLoggingContext(new
NodeLoggingContext
(_host, 1, false), entry);
BackEnd\TargetEntry_Tests.cs (1)
1193
return new ProjectLoggingContext(new
NodeLoggingContext
(_host, 1, false), entry);
33 references to NodeLoggingContext
Microsoft.Build (22)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
101
private
NodeLoggingContext
_nodeLoggingContext;
188
public void InitializeForBuild(
NodeLoggingContext
loggingContext)
BackEnd\Components\BuildRequestEngine\IBuildRequestEngine.cs (2)
6
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
146
void InitializeForBuild(
NodeLoggingContext
loggingContext);
BackEnd\Components\Logging\ProjectLoggingContext.cs (7)
32
internal ProjectLoggingContext(
NodeLoggingContext
nodeLoggingContext, BuildRequestEntry requestEntry)
53
NodeLoggingContext
nodeLoggingContext,
79
NodeLoggingContext
nodeLoggingContext, BuildRequestEntry requestEntry)
98
NodeLoggingContext
nodeLoggingContext,
117
NodeLoggingContext
nodeLoggingContext,
153
NodeLoggingContext
nodeLoggingContext,
184
NodeLoggingContext
nodeLoggingContext,
BackEnd\Components\RequestBuilder\IRequestBuilder.cs (2)
5
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
63
void BuildRequest(
NodeLoggingContext
nodeLoggingContext, BuildRequestEntry entry);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
24
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
84
private
NodeLoggingContext
_nodeLoggingContext;
197
public void BuildRequest(
NodeLoggingContext
loggingContext, BuildRequestEntry entry)
BackEnd\Components\Scheduler\Scheduler.cs (3)
20
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
173
private
NodeLoggingContext
_inprocNodeContext;
2131
NodeLoggingContext
nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true);
BackEnd\Node\InProcNode.cs (2)
15
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
44
private
NodeLoggingContext
_loggingContext;
BackEnd\Node\OutOfProcNode.cs (1)
72
private
NodeLoggingContext
_loggingContext;
Microsoft.Build.Engine.UnitTests (11)
BackEnd\BuildRequestEngine_Tests.cs (2)
22
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
81
public void BuildRequest(
NodeLoggingContext
context, BuildRequestEntry entry)
BackEnd\IntrinsicTask_Tests.cs (3)
20
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
3957
NodeLoggingContext
nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false);
3992
var
nodeContext = new NodeLoggingContext(new MockLoggingService(), 1, false);
BackEnd\LoggingContext_Tests.cs (3)
33
NodeLoggingContext
context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true);
42
NodeLoggingContext
context2 = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 2, false);
69
NodeLoggingContext
context = new NodeLoggingContext(new MockLoggingService(_output.WriteLine), 1, true);
BackEnd\RequestBuilder_Tests.cs (1)
334
private
NodeLoggingContext
GetNodeLoggingContext()
BackEnd\TargetBuilder_Tests.cs (1)
23
using NodeLoggingContext = Microsoft.Build.BackEnd.Logging.
NodeLoggingContext
;
BackEnd\TaskHost_Tests.cs (1)
1477
public void BuildRequest(
NodeLoggingContext
nodeLoggingContext, BuildRequestEntry entry)