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; 2855IConfigCache 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)
358BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId]; 463IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 548IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 632_configCache = (IConfigCache)host.GetComponent(BuildComponentType.ConfigCache); 1156IConfigCache globalConfigCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Components\Caching\ConfigCache.cs (1)
341ErrorUtilities.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; 556if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (55)
BackEnd\BuildManager_Tests.cs (4)
1923host.GetComponent(BuildComponentType.ConfigCache); 1949host.GetComponent(BuildComponentType.ConfigCache); 1981host.GetComponent(BuildComponentType.ConfigCache); 2033host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\BuildRequestEngine_Tests.cs (1)
288_cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\LoggingService_Tests.cs (1)
965ConfigCache configCache = host.GetComponent(BuildComponentType.ConfigCache) as ConfigCache;
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
838ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 864ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 903ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 944ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 1417ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (1)
202BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\RequestBuilder_Tests.cs (6)
89IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 119IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 152IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 191IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 230IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 305IConfigCache 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)
107IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 127IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 154IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 183IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 368IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 508IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 534IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 560IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 590IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 625IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 657IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 688IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 714IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 750IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 776IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 803IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 833IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 877IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 904IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 931IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 963IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1061IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1096IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1147IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1207IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1249IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1295IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1326IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1400IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1433IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1460IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1679IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1715IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1853BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\TargetEntry_Tests.cs (1)
1216BuildComponentType.ConfigCache => (IBuildComponent)_configCache,
BackEnd\TaskBuilder_Tests.cs (1)
1317BuildComponentType.ConfigCache => (IBuildComponent)_configCache,