2 implementations of IConfigCache
Microsoft.Build (2)
BackEnd\Components\Caching\ConfigCache.cs (1)
16
internal class ConfigCache :
IConfigCache
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
13
internal class ConfigCacheWithOverride :
IConfigCache
128 references to IConfigCache
Microsoft.Build (41)
BackEnd\BuildManager\BuildManager.cs (6)
87
private
IConfigCache
? _configCache;
686
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
833
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
854
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
2667
IConfigCache
configCache = _componentFactories.GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
BackEnd\BuildManager\CacheAggregator.cs (6)
18
private readonly List<(
IConfigCache
ConfigCache, IResultsCache ResultsCache)> _inputCaches = new List<(
IConfigCache
ConfigCache, IResultsCache ResultsCache)>();
30
public void Add(
IConfigCache
configCache, IResultsCache resultsCache)
56
private void InsertCaches(
IConfigCache
configCache, IResultsCache resultsCache)
104
public CacheAggregation(
IConfigCache
configCache, IResultsCache resultsCache, int lastConfigurationId)
111
public
IConfigCache
ConfigCache { get; }
BackEnd\BuildManager\CacheSerialization.cs (2)
17
IConfigCache
configCache,
115
public static (
IConfigCache
ConfigCache, IResultsCache ResultsCache, Exception exception) DeserializeCaches(string inputCacheFile)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (10)
91
private
IConfigCache
_configCache;
96
private
IConfigCache
_unresolvedConfigurations;
342
BuildRequestConfiguration config = ((
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId];
432
IConfigCache
configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
512
IConfigCache
globalConfigurations = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
596
_configCache = (
IConfigCache
)host.GetComponent(BuildComponentType.ConfigCache);
1121
IConfigCache
globalConfigCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (2)
15
private readonly
IConfigCache
_override;
18
public ConfigCacheWithOverride(
IConfigCache
@override)
BackEnd\Components\Logging\LoggingService.cs (3)
167
private Lazy<
IConfigCache
> _configCache;
304
_configCache = new Lazy<
IConfigCache
>(() => (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
43
private readonly
IConfigCache
_configCache;
83
IConfigCache
configCache,
BackEnd\Components\Scheduler\Scheduler.cs (4)
126
private
IConfigCache
_configCache;
632
_configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
1966
var
configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Components\Scheduler\SchedulingData.cs (1)
525
public int GetConfigurationsCountByNode(int nodeId, bool excludeTraversals,
IConfigCache
configCache)
BackEnd\Components\Scheduler\SchedulingPlan.cs (2)
27
private
IConfigCache
_configCache;
52
public SchedulingPlan(
IConfigCache
configCache, SchedulingData schedulingData)
BackEnd\Node\OutOfProcNode.cs (3)
77
private readonly
IConfigCache
_globalConfigCache;
152
_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
536
if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is
IConfigCache
configCache)
Microsoft.Build.Engine.UnitTests (87)
BackEnd\BuildRequestEngine_Tests.cs (2)
277
private
IConfigCache
_cache;
295
_cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (1)
26
private
IConfigCache
_configCache;
BackEnd\RequestBuilder_Tests.cs (12)
84
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
114
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
147
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
186
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
225
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
300
IConfigCache
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)
103
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
123
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
150
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
179
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
364
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
504
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
530
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
556
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
586
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
621
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
653
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
684
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
710
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
746
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
772
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
799
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
829
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
873
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
900
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
927
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
959
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1057
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1092
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1143
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1203
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1245
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1291
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1322
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1396
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1429
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1456
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1675
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1711
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1727
private
IConfigCache
_configCache;
BackEnd\TargetEntry_Tests.cs (1)
1206
private
IConfigCache
_configCache;
BackEnd\TaskBuilder_Tests.cs (3)
1241
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1261
private
IConfigCache
_configCache;