7 implementations of GetComponent
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
1256TComponent IBuildComponentHost.GetComponent<TComponent>(BuildComponentType type)
BackEnd\Node\OutOfProcNode.cs (1)
308TComponent IBuildComponentHost.GetComponent<TComponent>(BuildComponentType type)
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockHost.cs (1)
215public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
BackEnd\NodeEndpointInProc_Tests.cs (1)
83public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent => throw new NotImplementedException("Not expected to be used.");
BackEnd\TargetBuilder_Tests.cs (1)
1859public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
BackEnd\TargetEntry_Tests.cs (1)
1329public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
BackEnd\TaskBuilder_Tests.cs (1)
1386public TComponent GetComponent<TComponent>(BuildComponentType type) where TComponent : IBuildComponent
10 references to GetComponent
Microsoft.Build (10)
BackEnd\BuildManager\BuildManager.cs (10)
590var fileAccessManager = ((IBuildComponentHost)this).GetComponent<IFileAccessManager>(BuildComponentType.FileAccessManager); 602_taskHostNodeManager = ((IBuildComponentHost)this).GetComponent<INodeManager>(BuildComponentType.TaskHostNodeManager); 603_scheduler = ((IBuildComponentHost)this).GetComponent<IScheduler>(BuildComponentType.Scheduler); 694_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 695_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 850_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 851_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 2516ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2529ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2803ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService);