73 references to ConfigCache
Microsoft.Build (18)
BackEnd\BuildManager\BuildManager.cs (5)
751
_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
909
_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
930
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
2855
IConfigCache configCache = _componentFactories.GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
3433
_componentFactories.ReplaceFactory(BuildComponentType.
ConfigCache
, new ConfigCacheWithOverride(cacheAggregation.ConfigCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
64
_componentEntriesByType[BuildComponentType.
ConfigCache
] = new BuildComponentEntry(BuildComponentType.
ConfigCache
, ConfigCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
358
BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
))[request.ConfigurationId];
463
IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
548
IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
632
_configCache = (IConfigCache)host.GetComponent(BuildComponentType.
ConfigCache
);
1156
IConfigCache globalConfigCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Components\Caching\ConfigCache.cs (1)
341
ErrorUtilities.VerifyThrow(componentType == BuildComponentType.
ConfigCache
, "Cannot create components of type {0}", componentType);
BackEnd\Components\FileAccesses\FileAccessManager.cs (1)
47
_configCache = host.GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
BackEnd\Components\Logging\LoggingService.cs (1)
317
_configCache = new Lazy<IConfigCache>(() => (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\Scheduler\Scheduler.cs (1)
677
_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Node\OutOfProcNode.cs (2)
156
_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
556
if (_componentFactories.GetComponent(BuildComponentType.
ConfigCache
) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (55)
BackEnd\BuildManager_Tests.cs (4)
1923
host.GetComponent(BuildComponentType.
ConfigCache
);
1949
host.GetComponent(BuildComponentType.
ConfigCache
);
1981
host.GetComponent(BuildComponentType.
ConfigCache
);
2033
host.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\BuildRequestEngine_Tests.cs (1)
288
_cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\LoggingService_Tests.cs (1)
965
ConfigCache configCache = host.GetComponent(BuildComponentType.
ConfigCache
) as ConfigCache;
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
838
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
864
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
903
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
944
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
1417
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\MockHost.cs (1)
202
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\RequestBuilder_Tests.cs (6)
89
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
119
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
152
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
191
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
230
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
305
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Scheduler_Tests.cs (1)
742
(_host.GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (34)
107
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
127
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
154
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
183
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
368
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
508
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
534
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
560
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
590
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
625
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
657
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
688
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
714
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
750
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
776
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
803
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
833
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
877
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
904
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
931
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
963
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1061
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1096
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1147
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1207
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1249
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1295
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1326
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1400
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1433
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1460
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1679
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1715
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1853
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\TargetEntry_Tests.cs (1)
1216
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\TaskBuilder_Tests.cs (1)
1317
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,