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
130 references to IConfigCache
Microsoft.Build (43)
BackEnd\BuildManager\BuildManager.cs (6)
86private IConfigCache? _configCache; 685_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 832_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.ConfigCache); 853_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as IConfigCache; 2661IConfigCache configCache = _componentFactories.GetComponent<IConfigCache>(BuildComponentType.ConfigCache);
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; 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\ConfigCacheWithOverride.cs (2)
15private readonly IConfigCache _override; 18public ConfigCacheWithOverride(IConfigCache @override)
BackEnd\Components\FileAccesses\FileAccessManager.cs (2)
28private IConfigCache? _configCache; 46_configCache = host.GetComponent(BuildComponentType.ConfigCache) as IConfigCache;
BackEnd\Components\Logging\LoggingService.cs (3)
167private 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; 536if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (87)
BackEnd\BuildRequestEngine_Tests.cs (2)
277private IConfigCache _cache; 295_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)
738(_host.GetComponent(BuildComponentType.ConfigCache) as IConfigCache).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (67)
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); 1727private IConfigCache _configCache;
BackEnd\TargetEntry_Tests.cs (1)
1206private IConfigCache _configCache;
BackEnd\TaskBuilder_Tests.cs (3)
1241IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.ConfigCache); 1261private IConfigCache _configCache;