17 references to ConfigCache
Microsoft.Build (17)
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; 2932IConfigCache configCache = _componentFactories.GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 3507_componentFactories.ReplaceFactory(BuildComponentType.ConfigCache, new ConfigCacheWithOverride(cacheAggregation.ConfigCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
63_componentEntriesByType[BuildComponentType.ConfigCache] = new BuildComponentEntry(BuildComponentType.ConfigCache, ConfigCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
383BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId]; 488IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 573IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 653_configCache = (IConfigCache)host.GetComponent(BuildComponentType.ConfigCache); 1180IConfigCache globalConfigCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Components\Caching\ConfigCache.cs (1)
337Assumed.Equal(componentType, BuildComponentType.ConfigCache, $"Cannot create components of type {componentType}");
BackEnd\Components\Logging\LoggingService.cs (1)
317_configCache = new Lazy<IConfigCache>(() => (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\Scheduler\Scheduler.cs (1)
691_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Node\OutOfProcNode.cs (2)
156_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 556if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is IConfigCache configCache)