74 references to ConfigCache
Microsoft.Build (18)
BackEnd\BuildManager\BuildManager.cs (5)
686_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 833_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 854_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 2667IConfigCache configCache = _componentFactories.GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 3209_componentFactories.ReplaceFactory(BuildComponentType.ConfigCache, new ConfigCacheWithOverride(cacheAggregation.ConfigCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
61_componentEntriesByType[BuildComponentType.ConfigCache] = new BuildComponentEntry(BuildComponentType.ConfigCache, ConfigCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
342BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId]; 432IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 512IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 596_configCache = (IConfigCache)host.GetComponent(BuildComponentType.ConfigCache); 1121IConfigCache globalConfigCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Components\Caching\ConfigCache.cs (1)
391ErrorUtilities.VerifyThrow(componentType == BuildComponentType.ConfigCache, "Cannot create components of type {0}", componentType);
BackEnd\Components\Logging\LoggingService.cs (1)
304_configCache = new Lazy<IConfigCache>(() => (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\Scheduler\Scheduler.cs (2)
632_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 1966var configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Node\OutOfProcNode.cs (2)
152_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 536if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (56)
BackEnd\BuildManager_Tests.cs (4)
1922host.GetComponent(BuildComponentType.ConfigCache); 1948host.GetComponent(BuildComponentType.ConfigCache); 1980host.GetComponent(BuildComponentType.ConfigCache); 2032host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\BuildRequestEngine_Tests.cs (1)
295_cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\LoggingService_Tests.cs (1)
966ConfigCache configCache = host.GetComponent(BuildComponentType.ConfigCache) as ConfigCache;
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)
196BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\RequestBuilder_Tests.cs (6)
84IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 114IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 147IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 186IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 225IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 300IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Scheduler_Tests.cs (1)
738(_host.GetComponent(BuildComponentType.ConfigCache) as IConfigCache).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (34)
103IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 123IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 150IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 179IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 364IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 504IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 530IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 556IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 586IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 621IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 653IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 684IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 710IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 746IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 772IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 799IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 829IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 873IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 900IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 927IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 959IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1057IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1092IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1143IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1203IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1245IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1291IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1322IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1396IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1429IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1456IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1675IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1711IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1849BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\TargetEntry_Tests.cs (1)
1320BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\TaskBuilder_Tests.cs (2)
1241IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1377BuildComponentType.ConfigCache => (IBuildComponent)_configCache,