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)
13
internal interface IBuildCheckManagerProvider :
IBuildComponent
18 implementations of IBuildComponent
Microsoft.Build (10)
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)
24
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
Microsoft.Build.Engine.UnitTests (8)
BackEnd\BuildRequestEngine_Tests.cs (1)
26
internal sealed class MockRequestBuilder : IRequestBuilder,
IBuildComponent
BackEnd\MockHost.cs (1)
21
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)
1720
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
BackEnd\TargetEntry_Tests.cs (1)
1199
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
BackEnd\TaskBuilder_Tests.cs (1)
1254
private sealed class MockHost : MockLoggingService, IBuildComponentHost,
IBuildComponent
133 references to IBuildComponent
Microsoft.Build (56)
BackEnd\BuildManager\BuildManager.cs (4)
1214
IBuildComponent
IBuildComponentHost.GetComponent(BuildComponentType type)
2911
((
IBuildComponent
)loggingService).InitializeComponent(this);
2912
_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, loggingService as
IBuildComponent
);
3104
_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, (
IBuildComponent
?)null);
BackEnd\Components\BuildComponentFactoryCollection.cs (7)
133
public void ReplaceFactory(BuildComponentType componentType,
IBuildComponent
instance)
155
public
IBuildComponent
GetComponent(BuildComponentType type)
165
internal TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
183
private
IBuildComponent
_singleton;
198
public BuildComponentEntry(BuildComponentType type,
IBuildComponent
singleton)
218
public
IBuildComponent
GetInstance(IBuildComponentHost host)
231
IBuildComponent
component = _factory(ComponentType);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
623
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
808
((
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)
32
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)
278
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
350
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)
348
internal static
IBuildComponent
CreateComponent(BuildComponentType componentType)
BackEnd\Components\Communications\TaskHostNodeManager.cs (1)
167
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);
196
IBuildComponent
GetComponent(BuildComponentType type);
205
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)
178
((
IBuildComponent
)taskBuilder).ShutdownComponent();
310
((
IBuildComponent
)taskBuilder).ShutdownComponent();
392
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)
649
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)
330
((
IBuildComponent
)objectCache).ShutdownComponent();
BackEnd\Node\OutOfProcNode.cs (5)
301
IBuildComponent
IBuildComponentHost.GetComponent(BuildComponentType type)
454
((
IBuildComponent
)_buildRequestEngine).ShutdownComponent();
459
((
IBuildComponent
)_sdkResolverService).ShutdownComponent();
468
((
IBuildComponent
)objectCache).ShutdownComponent();
498
((
IBuildComponent
)_loggingService).ShutdownComponent();
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
34
internal static
IBuildComponent
CreateComponent(BuildComponentType type)
Definition\ProjectCollection.cs (3)
1510
void
IBuildComponent
.InitializeComponent(IBuildComponentHost host)
1517
void
IBuildComponent
.ShutdownComponent()
1738
((
IBuildComponent
)LoggingService).ShutdownComponent();
Microsoft.Build.Engine.UnitTests (77)
BackEnd\BuildRequestEngine_Tests.cs (1)
307
((
IBuildComponent
)_engine).ShutdownComponent();
BackEnd\LoggingService_Tests.cs (13)
64
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
73
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Asynchronous, 1);
91
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
119
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
974
((
IBuildComponent
)loggingService).InitializeComponent(host);
1004
((
IBuildComponent
)loggingService).ShutdownComponent();
1048
((
IBuildComponent
)node1LoggingService).InitializeComponent(mockHost);
1050
((
IBuildComponent
)node2LoggingService).InitializeComponent(mockHost);
1092
IBuildComponent
logServiceComponent = (
IBuildComponent
)LoggingService.CreateLoggingService(LoggerMode.Synchronous, 1);
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
1837
public static new
IBuildComponent
CreateLoggingService(LoggerMode mode, int nodeId)
1847
public static
IBuildComponent
CreateLoggingService(LoggerMode mode, int nodeId, IBuildComponentHost componentHost)
BackEnd\MockHost.cs (15)
120
((
IBuildComponent
)_requestEngine).InitializeComponent(this);
125
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
128
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
131
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
134
((
IBuildComponent
)_buildCheckManagerProvider).InitializeComponent(this);
192
public
IBuildComponent
GetComponent(BuildComponentType type)
196
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
197
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
198
BuildComponentType.RequestEngine => (
IBuildComponent
)_requestEngine,
199
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
200
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
201
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
202
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
203
BuildComponentType.BuildCheckManagerProvider => (
IBuildComponent
)_buildCheckManagerProvider,
208
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\NodeEndpointInProc_Tests.cs (2)
79
public
IBuildComponent
GetComponent(BuildComponentType type)
84
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)
1775
((
IBuildComponent
)_configCache).InitializeComponent(this);
1780
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1783
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1786
((
IBuildComponent
)_taskBuilder).InitializeComponent(this);
1789
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
1792
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1845
public
IBuildComponent
GetComponent(BuildComponentType type)
1849
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1850
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1851
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1852
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1853
BuildComponentType.TaskBuilder => (
IBuildComponent
)_taskBuilder,
1854
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
1855
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1860
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\TargetEntry_Tests.cs (14)
1007
((
IBuildComponent
)taskBuilder).ShutdownComponent();
1249
((
IBuildComponent
)_configCache).InitializeComponent(this);
1254
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1257
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1260
((
IBuildComponent
)_taskBuilder).InitializeComponent(this);
1263
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1316
public
IBuildComponent
GetComponent(BuildComponentType type)
1320
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1321
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1322
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1323
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1324
BuildComponentType.TaskBuilder => (
IBuildComponent
)_taskBuilder,
1325
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1330
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent
BackEnd\TaskBuilder_Tests.cs (13)
1307
((
IBuildComponent
)_configCache).InitializeComponent(this);
1312
((
IBuildComponent
)_resultsCache).InitializeComponent(this);
1315
((
IBuildComponent
)_requestBuilder).InitializeComponent(this);
1318
((
IBuildComponent
)_targetBuilder).InitializeComponent(this);
1321
((
IBuildComponent
)_sdkResolverService).InitializeComponent(this);
1373
public
IBuildComponent
GetComponent(BuildComponentType type)
1377
BuildComponentType.ConfigCache => (
IBuildComponent
)_configCache,
1378
BuildComponentType.LoggingService => (
IBuildComponent
)_loggingService,
1379
BuildComponentType.ResultsCache => (
IBuildComponent
)_resultsCache,
1380
BuildComponentType.RequestBuilder => (
IBuildComponent
)_requestBuilder,
1381
BuildComponentType.TargetBuilder => (
IBuildComponent
)_targetBuilder,
1382
BuildComponentType.SdkResolverService => (
IBuildComponent
)_sdkResolverService,
1387
public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent :
IBuildComponent