7 interfaces inheriting from IBuildComponent
Microsoft.Build (7)
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\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
18 implementations of IBuildComponent
Microsoft.Build (10)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
37
internal class BuildRequestEngine : IBuildRequestEngine,
IBuildComponent
BackEnd\Components\Caching\RegisteredTaskObjectCache.cs (1)
13
internal class RegisteredTaskObjectCache : RegisteredTaskObjectCacheBase,
IBuildComponent
, IRegisteredTaskObjectCache, IDisposable
BackEnd\Components\Communications\NodeLauncher.cs (1)
27
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)
37
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)
64
internal class TaskBuilder : ITaskBuilder,
IBuildComponent
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (1)
18
internal abstract class HostedSdkResolverServiceBase :
IBuildComponent
, INodePacketHandler, ISdkResolverService
Definition\ProjectCollection.cs (1)
84
public class ProjectCollection : IToolsetProvider,
IBuildComponent
, IDisposable
TelemetryInfra\TelemetryCollectorProvider.cs (1)
18
internal class TelemetryCollectorProvider :
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)
366
internal sealed class TestTargetBuilder : ITargetBuilder,
IBuildComponent
BackEnd\TargetBuilder_Tests.cs (1)
1724
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
BackEnd\TargetEntry_Tests.cs (1)
1094
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
BackEnd\TaskBuilder_Tests.cs (1)
1110
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
139 references to IBuildComponent
Microsoft.Build (55)
BackEnd\BuildManager\BuildManager.cs (4)
1476
IBuildComponent
IBuildComponentHost.GetComponent(BuildComponentType type)
3187
((
IBuildComponent
)loggingService).InitializeComponent(this);
3188
_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, loggingService as
IBuildComponent
);
3416
_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)
668
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
853
((
IBuildComponent
)completedEntry.Builder).ShutdownComponent();
BackEnd\Components\Caching\ConfigCache.cs (1)
339
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Caching\RegisteredTaskObjectCache.cs (1)
58
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Caching\ResultsCache.cs (1)
300
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Communications\NodeLauncher.cs (1)
29
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)
349
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
199
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
374
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Communications\TaskHostNodeManager.cs (1)
177
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
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)
47
public
IBuildComponent
CreateInstance(BuildComponentType type)
50
IBuildComponent
loggingService = (
IBuildComponent
)LoggingService.CreateLoggingService(_logMode, _nodeId);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
631
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
907
((
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)
241
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Scheduler\Scheduler.cs (1)
693
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (3)
21
/// An event to signal for waiting threads when the <see cref="
IBuildComponent
"/> is being shut down.
45
/// <inheritdoc cref="
IBuildComponent
.InitializeComponent"/>
58
/// <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
101
/// <inheritdoc cref="
IBuildComponent
.ShutdownComponent"/>
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverServiceFactory.cs (1)
24
public
IBuildComponent
CreateInstance(BuildComponentType type)
BackEnd\Node\InProcNode.cs (2)
120
IBuildComponent
buildRequestEngine = BuildRequestEngine.CreateComponent(BuildComponentType.RequestEngine);
345
((
IBuildComponent
)objectCache).ShutdownComponent();
BackEnd\Node\OutOfProcNode.cs (5)
305
IBuildComponent
IBuildComponentHost.GetComponent(BuildComponentType type)
467
((
IBuildComponent
)_sdkResolverService).ShutdownComponent();
476
((
IBuildComponent
)_buildRequestEngine).ShutdownComponent();
487
((
IBuildComponent
)objectCache).ShutdownComponent();
517
((
IBuildComponent
)_loggingService).ShutdownComponent();
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
34
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
Definition\ProjectCollection.cs (3)
1572
void
IBuildComponent
.InitializeComponent(IBuildComponentHost host)
1579
void
IBuildComponent
.ShutdownComponent()
1800
((
IBuildComponent
)LoggingService).ShutdownComponent();
TelemetryInfra\TelemetryCollectorProvider.cs (1)
29
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
Microsoft.Build.Engine.UnitTests (84)
BackEnd\BuildRequestEngine_Tests.cs (1)
300
((
IBuildComponent
)_engine).ShutdownComponent();
BackEnd\LoggingService_Tests.cs (18)
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);
1094
((
IBuildComponent
)loggingService).InitializeComponent(mockHost);
1098
((
IBuildComponent
)loggingService).ShutdownComponent();
1117
((
IBuildComponent
)_initializedService).ShutdownComponent();
1155
((
IBuildComponent
)loggingService).InitializeComponent(mockHost);
1184
((
IBuildComponent
)loggingService).ShutdownComponent();
1206
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
)_telemetryCollector).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.TelemetryCollector => (
IBuildComponent
)_telemetryCollector,
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)
60
((
IBuildComponent
)_host.RequestBuilder).InitializeComponent(_host);
74
((
IBuildComponent
)_requestBuilder).ShutdownComponent();
BackEnd\TargetBuilder_Tests.cs (15)
1779
((
IBuildComponent
)_configCache).InitializeComponent(this);
1784
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1787
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1790
((
IBuildComponent
)_taskBuilder).InitializeComponent(this);
1793
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
1796
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1849
public
IBuildComponent
GetComponent(BuildComponentType type)
1853
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1854
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1855
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1856
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1857
BuildComponentType.TaskBuilder => (
IBuildComponent
)_taskBuilder,
1858
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
1859
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1864
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\TargetEntry_Tests.cs (14)
902
((
IBuildComponent
)taskBuilder).ShutdownComponent();
1144
((
IBuildComponent
)_configCache).InitializeComponent(this);
1149
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1152
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1155
((
IBuildComponent
)_taskBuilder).InitializeComponent(this);
1158
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1211
public
IBuildComponent
GetComponent(BuildComponentType type)
1215
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1216
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1217
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1218
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1219
BuildComponentType.TaskBuilder => (
IBuildComponent
)_taskBuilder,
1220
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1225
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\TaskBuilder_Tests.cs (13)
1163
((
IBuildComponent
)_configCache).InitializeComponent(this);
1168
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1171
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1174
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
1177
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1229
public
IBuildComponent
GetComponent(BuildComponentType type)
1233
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1234
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1235
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1236
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1237
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
1238
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1243
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent