2 implementations of IConfigCache
Microsoft.Build (2)
BackEnd\Components\Caching\ConfigCache.cs (1)
21internal class ConfigCache : IConfigCache
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
12internal class ConfigCacheWithOverride : IConfigCache
40 references to IConfigCache
Microsoft.Build (40)
BackEnd\BuildManager\BuildManager.cs (6)
88private IConfigCache? _configCache; 774_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 932_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 953_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 2957IConfigCache configCache = _componentFactories.GetComponent<IConfigCache>(BuildComponentType.ConfigCache);
BackEnd\BuildManager\CacheAggregator.cs (6)
17private readonly List<(IConfigCache ConfigCache, IResultsCache ResultsCache)> _inputCaches = new List<(IConfigCache ConfigCache, IResultsCache ResultsCache)>(); 29public void Add(IConfigCache configCache, IResultsCache resultsCache) 55private void InsertCaches(IConfigCache configCache, IResultsCache resultsCache) 103public CacheAggregation(IConfigCache configCache, IResultsCache resultsCache, int lastConfigurationId) 110public IConfigCache ConfigCache { get; }
BackEnd\BuildManager\CacheSerialization.cs (2)
18IConfigCache configCache, 101public static (IConfigCache ConfigCache, IResultsCache ResultsCache, Exception exception) DeserializeCaches(string inputCacheFile)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (9)
102private IConfigCache _configCache; 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\ConfigCacheWithOverride.cs (2)
14private readonly IConfigCache _override; 17public ConfigCacheWithOverride(IConfigCache @override)
BackEnd\Components\Logging\LoggingService.cs (3)
173private Lazy<IConfigCache> _configCache; 317_configCache = new Lazy<IConfigCache>(() => (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
46private readonly IConfigCache _configCache; 86IConfigCache configCache,
BackEnd\Components\Scheduler\Scheduler.cs (4)
136private IConfigCache _configCache; 691_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 2095static BuildRequestConfiguration GetParentConfigurationId(BuildRequest request, IConfigCache configCache, SchedulingData schedulingData) 2129static bool SkipNonexistentTargetsIfExistentTargetsHaveResults(BuildRequest buildRequest, IConfigCache configCache, IResultsCache resultsCache)
BackEnd\Components\Scheduler\SchedulingData.cs (1)
512public int GetConfigurationsCountByNode(int nodeId, bool excludeTraversals, IConfigCache configCache)
BackEnd\Components\Scheduler\SchedulingPlan.cs (2)
27private IConfigCache _configCache; 52public SchedulingPlan(IConfigCache configCache, SchedulingData schedulingData)
BackEnd\Node\OutOfProcNode.cs (3)
81private readonly IConfigCache _globalConfigCache; 156_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 556if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is IConfigCache configCache)