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);
401
MockRequestBuilder builder = (MockRequestBuilder)_host.
GetComponent
(BuildComponentType.RequestBuilder);
454
MockRequestBuilder builder = (MockRequestBuilder)_host.
GetComponent
(BuildComponentType.RequestBuilder);
520
IBuildRequestEngine engine = (IBuildRequestEngine)_host.
GetComponent
(BuildComponentType.RequestEngine);
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
839
ConfigCache cache = (ConfigCache)componentHost.
GetComponent
(BuildComponentType.ConfigCache);
865
ConfigCache cache = (ConfigCache)componentHost.
GetComponent
(BuildComponentType.ConfigCache);
904
ConfigCache cache = (ConfigCache)componentHost.
GetComponent
(BuildComponentType.ConfigCache);
945
ConfigCache cache = (ConfigCache)componentHost.
GetComponent
(BuildComponentType.ConfigCache);
1418
ConfigCache 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);
83
TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.
GetComponent
(BuildComponentType.TargetBuilder);
84
IConfigCache configCache = (IConfigCache)_host.
GetComponent
(BuildComponentType.ConfigCache);
113
TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.
GetComponent
(BuildComponentType.TargetBuilder);
114
IConfigCache configCache = (IConfigCache)_host.
GetComponent
(BuildComponentType.ConfigCache);
146
TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.
GetComponent
(BuildComponentType.TargetBuilder);
147
IConfigCache configCache = (IConfigCache)_host.
GetComponent
(BuildComponentType.ConfigCache);
185
TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.
GetComponent
(BuildComponentType.TargetBuilder);
186
IConfigCache configCache = (IConfigCache)_host.
GetComponent
(BuildComponentType.ConfigCache);
224
TestTargetBuilder targetBuilder = (TestTargetBuilder)_host.
GetComponent
(BuildComponentType.TargetBuilder);
225
IConfigCache configCache = (IConfigCache)_host.
GetComponent
(BuildComponentType.ConfigCache);
300
IConfigCache configCache = (IConfigCache)_host.
GetComponent
(BuildComponentType.ConfigCache);
BackEnd\Scheduler_Tests.cs (3)
613
Assert.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);