Implemented interface member:
method
GetComponent
Microsoft.Build.BackEnd.IBuildComponentHost.GetComponent(Microsoft.Build.BackEnd.BuildComponentType)
26 references to GetComponent
Microsoft.Build.Engine.UnitTests (26)
BackEnd\BuildRequestEngine_Tests.cs (5)
294_engine = (IBuildRequestEngine)_host.GetComponent(BuildComponentType.RequestEngine); 295_cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 401MockRequestBuilder builder = (MockRequestBuilder)_host.GetComponent(BuildComponentType.RequestBuilder); 454MockRequestBuilder builder = (MockRequestBuilder)_host.GetComponent(BuildComponentType.RequestBuilder); 520IBuildRequestEngine engine = (IBuildRequestEngine)_host.GetComponent(BuildComponentType.RequestEngine);
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
839ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 865ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 904ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 945ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 1418ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (1)
209=> (TComponent)GetComponent(type);
BackEnd\RequestBuilder_Tests.cs (12)
61_requestBuilder = (IRequestBuilder)_host.GetComponent(BuildComponentType.RequestBuilder); 83TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.GetComponent(BuildComponentType.TargetBuilder); 84IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 113TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.GetComponent(BuildComponentType.TargetBuilder); 114IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 146TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.GetComponent(BuildComponentType.TargetBuilder); 147IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 185TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.GetComponent(BuildComponentType.TargetBuilder); 186IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 224TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.GetComponent(BuildComponentType.TargetBuilder); 225IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 300IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Scheduler_Tests.cs (3)
613Assert.Null(((ResultsCacheWithOverride)_host.GetComponent(BuildComponentType.ResultsCache)).CurrentCache.GetResultsForConfiguration(1)); 738(_host.GetComponent(BuildComponentType.ConfigCache) as IConfigCache).AddConfiguration(config); 761(_host.GetComponent(BuildComponentType.ResultsCache) as IResultsCache).AddResult(result);