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