74 references to ConfigCache
Microsoft.Build (18)
BackEnd\BuildManager\BuildManager.cs (5)
691_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 846_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 867_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 2687IConfigCache configCache = _componentFactories.GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 3203_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)
339BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId]; 429IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 509IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 593_configCache = (IConfigCache)host.GetComponent(BuildComponentType.ConfigCache); 1118IConfigCache 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; 533if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (56)
BackEnd\BuildManager_Tests.cs (4)
1857host.GetComponent(BuildComponentType.ConfigCache); 1883host.GetComponent(BuildComponentType.ConfigCache); 1915host.GetComponent(BuildComponentType.ConfigCache); 1967host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\BuildRequestEngine_Tests.cs (1)
294_cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\LoggingService_Tests.cs (1)
966ConfigCache configCache = host.GetComponent(BuildComponentType.ConfigCache) as ConfigCache;
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
837ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 863ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 902ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 943ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 1414ConfigCache 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)
737(_host.GetComponent(BuildComponentType.ConfigCache) as IConfigCache).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (34)
102IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 121IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 147IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 175IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 359IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 498IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 523IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 548IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 577IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 611IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 642IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 672IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 697IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 732IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 757IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 783IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 812IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 855IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 881IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 907IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 938IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1035IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1069IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1119IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1178IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1219IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1264IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1294IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1367IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1399IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1425IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1643IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1678IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1816BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\TargetEntry_Tests.cs (1)
1317BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\TaskBuilder_Tests.cs (2)
1230IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1365BuildComponentType.ConfigCache => (IBuildComponent)_configCache,