8 interfaces inheriting from IBuildComponent
Microsoft.Build (8)
BackEnd\Components\Caching\IConfigCache.cs (1)
18
internal interface IConfigCache :
IBuildComponent
, IEnumerable<BuildRequestConfiguration>, ITranslatable
BackEnd\Components\Caching\IResultsCache.cs (1)
15
internal interface IResultsCache :
IBuildComponent
, ITranslatable, IEnumerable<BuildResult>
BackEnd\Components\Communications\INodeManager.cs (1)
14
internal interface INodeManager :
IBuildComponent
,
BackEnd\Components\Communications\INodeProvider.cs (1)
36
internal interface INodeProvider :
IBuildComponent
BackEnd\Components\FileAccesses\IFileAccessManager.cs (1)
12
internal interface IFileAccessManager :
IBuildComponent
BackEnd\Components\Logging\ILoggingService.cs (1)
31
internal interface ILoggingService :
IBuildComponent
, IBuildEngineDataRouter
BackEnd\Components\Scheduler\IScheduler.cs (1)
15
internal interface IScheduler :
IBuildComponent
BuildCheck\Infrastructure\IBuildCheckManagerProvider.cs (1)
8
internal interface IBuildCheckManagerProvider :
IBuildComponent
19 implementations of IBuildComponent
Microsoft.Build (11)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
36
internal class BuildRequestEngine : IBuildRequestEngine,
IBuildComponent
BackEnd\Components\Caching\RegisteredTaskObjectCache.cs (1)
15
internal class RegisteredTaskObjectCache : RegisteredTaskObjectCacheBase,
IBuildComponent
, IRegisteredTaskObjectCache, IDisposable
BackEnd\Components\Communications\DetouredNodeLauncher.cs (1)
22
internal sealed class DetouredNodeLauncher : INodeLauncher,
IBuildComponent
BackEnd\Components\Communications\NodeLauncher.cs (1)
19
internal sealed class NodeLauncher : INodeLauncher,
IBuildComponent
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
24
internal partial class LoggingService : ILoggingService, INodePacketHandler,
IBuildComponent
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
34
internal class RequestBuilder : IRequestBuilder, IRequestBuilderCallback,
IBuildComponent
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
40
internal class TargetBuilder : ITargetBuilder, ITargetBuilderCallback,
IBuildComponent
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
63
internal class TaskBuilder : ITaskBuilder,
IBuildComponent
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (1)
17
internal abstract class HostedSdkResolverServiceBase :
IBuildComponent
, INodePacketHandler, ISdkResolverService
Definition\ProjectCollection.cs (1)
83
public class ProjectCollection : IToolsetProvider,
IBuildComponent
, IDisposable
TelemetryInfra\TelemetryForwarderProvider.cs (1)
16
internal class TelemetryForwarderProvider :
IBuildComponent
Microsoft.Build.Engine.UnitTests (8)
BackEnd\BuildRequestEngine_Tests.cs (1)
25
internal sealed class MockRequestBuilder : IRequestBuilder,
IBuildComponent
BackEnd\MockHost.cs (1)
22
internal sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
BackEnd\MockSdkResolverService.cs (1)
15
internal sealed class MockSdkResolverService :
IBuildComponent
, ISdkResolverService
BackEnd\MockTaskBuilder.cs (1)
20
internal sealed class MockTaskBuilder : ITaskBuilder,
IBuildComponent
BackEnd\RequestBuilder_Tests.cs (1)
340
internal sealed class TestTargetBuilder : ITargetBuilder,
IBuildComponent
BackEnd\TargetBuilder_Tests.cs (1)
1719
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
BackEnd\TargetEntry_Tests.cs (1)
1198
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
BackEnd\TaskBuilder_Tests.cs (1)
1253
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
136 references to IBuildComponent
Microsoft.Build (57)
BackEnd\BuildManager\BuildManager.cs (4)
1251
IBuildComponent
IBuildComponentHost.GetComponent(BuildComponentType type)
2952
((
IBuildComponent
)loggingService).InitializeComponent(this);
2953
_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, loggingService as
IBuildComponent
);
3164
_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, (
IBuildComponent
?)null);
BackEnd\Components\BuildComponentFactoryCollection.cs (7)
137
public void ReplaceFactory(BuildComponentType componentType,
IBuildComponent
instance)
159
public
IBuildComponent
GetComponent(BuildComponentType type)
169
internal TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
187
private
IBuildComponent
_singleton;
202
public BuildComponentEntry(BuildComponentType type,
IBuildComponent
singleton)
222
public
IBuildComponent
GetInstance(IBuildComponentHost host)
235
IBuildComponent
component = _factory(ComponentType);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
626
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
811
((
IBuildComponent
)completedEntry.Builder).ShutdownComponent();
BackEnd\Components\Caching\ConfigCache.cs (1)
389
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Caching\RegisteredTaskObjectCache.cs (1)
60
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Caching\ResultsCache.cs (1)
300
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Communications\DetouredNodeLauncher.cs (1)
30
public static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Communications\NodeLauncher.cs (1)
21
public static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Communications\NodeManager.cs (1)
288
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
361
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
195
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
358
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Communications\TaskHostNodeManager.cs (1)
177
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\FileAccesses\FileAccessManager.cs (1)
37
public static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\FileAccesses\OutOfProcNodeFileAccessManager.cs (1)
26
public static
IBuildComponent
CreateComponent(BuildComponentType type, Action<INodePacket> sendPacket)
BackEnd\Components\IBuildComponentHost.cs (3)
17
internal delegate
IBuildComponent
BuildComponentFactoryDelegate(BuildComponentType type);
201
IBuildComponent
GetComponent(BuildComponentType type);
210
where TComponent :
IBuildComponent
;
BackEnd\Components\Logging\LoggingServiceFactory.cs (3)
49
public
IBuildComponent
CreateInstance(BuildComponentType type)
52
IBuildComponent
loggingService = (
IBuildComponent
)LoggingService.CreateLoggingService(_logMode, _nodeId);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
628
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
900
((
IBuildComponent
)_targetBuilder).ShutdownComponent();
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
183
((
IBuildComponent
)taskBuilder).ShutdownComponent();
316
((
IBuildComponent
)taskBuilder).ShutdownComponent();
398
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
226
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Scheduler\Scheduler.cs (1)
648
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (3)
20
/// An event to signal for waiting threads when the <see cref="
IBuildComponent
"/> is being shut down.
41
/// <inheritdoc cref="
IBuildComponent
.InitializeComponent"/>
54
/// <inheritdoc cref="
IBuildComponent
.ShutdownComponent"/>
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (2)
24
/// Since this object is a registered <see cref="
IBuildComponent
"/>, it is a singleton for the main process. To get an instance of it, you
34
public static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (2)
24
/// Since this object is a registered <see cref="
IBuildComponent
"/>, it is a singleton for the main process. To get an instance of it, you
96
/// <inheritdoc cref="
IBuildComponent
.ShutdownComponent"/>
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverServiceFactory.cs (1)
26
public
IBuildComponent
CreateInstance(BuildComponentType type)
BackEnd\Node\InProcNode.cs (1)
340
((
IBuildComponent
)objectCache).ShutdownComponent();
BackEnd\Node\OutOfProcNode.cs (5)
303
IBuildComponent
IBuildComponentHost.GetComponent(BuildComponentType type)
466
((
IBuildComponent
)_buildRequestEngine).ShutdownComponent();
471
((
IBuildComponent
)_sdkResolverService).ShutdownComponent();
480
((
IBuildComponent
)objectCache).ShutdownComponent();
510
((
IBuildComponent
)_loggingService).ShutdownComponent();
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
34
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
Definition\ProjectCollection.cs (3)
1515
void
IBuildComponent
.InitializeComponent(IBuildComponentHost host)
1522
void
IBuildComponent
.ShutdownComponent()
1743
((
IBuildComponent
)LoggingService).ShutdownComponent();
TelemetryInfra\TelemetryForwarderProvider.cs (1)
22
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
Microsoft.Build.Engine.UnitTests (79)
BackEnd\BuildRequestEngine_Tests.cs (1)
306
((
IBuildComponent
)_engine).ShutdownComponent();
BackEnd\LoggingService_Tests.cs (13)
63
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
72
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Asynchronous, 1);
90
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
118
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
973
((
IBuildComponent
)loggingService).InitializeComponent(host);
1003
((
IBuildComponent
)loggingService).ShutdownComponent();
1047
((
IBuildComponent
)node1LoggingService).InitializeComponent(mockHost);
1049
((
IBuildComponent
)node2LoggingService).InitializeComponent(mockHost);
1091
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
1836
public static new
IBuildComponent
CreateLoggingService(LoggerMode mode, int nodeId)
1846
public static
IBuildComponent
CreateLoggingService(LoggerMode mode, int nodeId, IBuildComponentHost componentHost)
BackEnd\MockHost.cs (17)
123
((
IBuildComponent
)_requestEngine).InitializeComponent(this);
128
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
131
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
134
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
137
((
IBuildComponent
)_buildCheckManagerProvider).InitializeComponent(this);
140
((
IBuildComponent
)_telemetryForwarder).InitializeComponent(this);
198
public
IBuildComponent
GetComponent(BuildComponentType type)
202
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
203
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
204
BuildComponentType.RequestEngine => (
IBuildComponent
)_requestEngine,
205
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
206
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
207
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
208
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
209
BuildComponentType.BuildCheckManagerProvider => (
IBuildComponent
)_buildCheckManagerProvider,
210
BuildComponentType.TelemetryForwarder => (
IBuildComponent
)_telemetryForwarder,
215
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\NodeEndpointInProc_Tests.cs (2)
78
public
IBuildComponent
GetComponent(BuildComponentType type)
83
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
=> throw new NotImplementedException("Not expected to be used.");
BackEnd\RequestBuilder_Tests.cs (2)
54
((
IBuildComponent
)_host.RequestBuilder).InitializeComponent(_host);
68
((
IBuildComponent
)_requestBuilder).ShutdownComponent();
BackEnd\TargetBuilder_Tests.cs (15)
1774
((
IBuildComponent
)_configCache).InitializeComponent(this);
1779
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1782
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1785
((
IBuildComponent
)_taskBuilder).InitializeComponent(this);
1788
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
1791
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1844
public
IBuildComponent
GetComponent(BuildComponentType type)
1848
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1849
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1850
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1851
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1852
BuildComponentType.TaskBuilder => (
IBuildComponent
)_taskBuilder,
1853
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
1854
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1859
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\TargetEntry_Tests.cs (14)
1006
((
IBuildComponent
)taskBuilder).ShutdownComponent();
1248
((
IBuildComponent
)_configCache).InitializeComponent(this);
1253
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1256
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1259
((
IBuildComponent
)_taskBuilder).InitializeComponent(this);
1262
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1315
public
IBuildComponent
GetComponent(BuildComponentType type)
1319
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1320
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1321
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1322
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1323
BuildComponentType.TaskBuilder => (
IBuildComponent
)_taskBuilder,
1324
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1329
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\TaskBuilder_Tests.cs (13)
1306
((
IBuildComponent
)_configCache).InitializeComponent(this);
1311
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1314
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1317
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
1320
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1372
public
IBuildComponent
GetComponent(BuildComponentType type)
1376
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1377
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1378
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1379
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1380
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
1381
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1386
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent