7 implementations of GetComponent
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
1219TComponent IBuildComponentHost.GetComponent<TComponent>(BuildComponentType type)
BackEnd\Node\OutOfProcNode.cs (1)
306TComponent IBuildComponentHost.GetComponent<TComponent>(BuildComponentType type)
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockHost.cs (1)
208public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
BackEnd\NodeEndpointInProc_Tests.cs (1)
84public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent => throw new NotImplementedException("Not expected to be used.");
BackEnd\TargetBuilder_Tests.cs (1)
1860public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
BackEnd\TargetEntry_Tests.cs (1)
1330public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
BackEnd\TaskBuilder_Tests.cs (1)
1387public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
10 references to GetComponent
Microsoft.Build (10)
BackEnd\BuildManager\BuildManager.cs (10)
581var fileAccessManager = ((IBuildComponentHost)this).GetComponent<IFileAccessManager>(BuildComponentType.FileAccessManager); 593_taskHostNodeManager = ((IBuildComponentHost)this).GetComponent<INodeManager>(BuildComponentType.TaskHostNodeManager); 594_scheduler = ((IBuildComponentHost)this).GetComponent<IScheduler>(BuildComponentType.Scheduler); 685_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 686_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 832_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 833_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 2474ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2487ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2761ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService);