2 implementations of IConfigCache
Microsoft.Build (2)
BackEnd\Components\Caching\ConfigCache.cs (1)
16internal class ConfigCache : IConfigCache
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
13internal class ConfigCacheWithOverride : IConfigCache
128 references to IConfigCache
Microsoft.Build (41)
BackEnd\BuildManager\BuildManager.cs (6)
89private IConfigCache _configCache; 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;
BackEnd\BuildManager\CacheAggregator.cs (6)
18private readonly List<(IConfigCache ConfigCache, IResultsCache ResultsCache)> _inputCaches = new List<(IConfigCache ConfigCache, IResultsCache ResultsCache)>(); 30public void Add(IConfigCache configCache, IResultsCache resultsCache) 56private void InsertCaches(IConfigCache configCache, IResultsCache resultsCache) 104public CacheAggregation(IConfigCache configCache, IResultsCache resultsCache, int lastConfigurationId) 111public IConfigCache ConfigCache { get; }
BackEnd\BuildManager\CacheSerialization.cs (2)
17IConfigCache configCache, 115public static (IConfigCache ConfigCache, IResultsCache ResultsCache, Exception exception) DeserializeCaches(string inputCacheFile)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (10)
91private IConfigCache _configCache; 96private IConfigCache _unresolvedConfigurations; 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\ConfigCacheWithOverride.cs (2)
15private readonly IConfigCache _override; 18public ConfigCacheWithOverride(IConfigCache @override)
BackEnd\Components\Logging\LoggingService.cs (3)
166private Lazy<IConfigCache> _configCache; 304_configCache = new Lazy<IConfigCache>(() => (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
42private readonly IConfigCache _configCache; 82IConfigCache configCache,
BackEnd\Components\Scheduler\Scheduler.cs (4)
126private IConfigCache _configCache; 632_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 1966var configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Components\Scheduler\SchedulingData.cs (1)
525public 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)
77private readonly IConfigCache _globalConfigCache; 152_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 533if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (87)
BackEnd\BuildRequestEngine_Tests.cs (2)
276private IConfigCache _cache; 294_cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (1)
26private IConfigCache _configCache;
BackEnd\RequestBuilder_Tests.cs (12)
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 (67)
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); 1694private IConfigCache _configCache;
BackEnd\TargetEntry_Tests.cs (1)
1203private IConfigCache _configCache;
BackEnd\TaskBuilder_Tests.cs (3)
1230IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1249private IConfigCache _configCache;