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)
89
private
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
;
2687
IConfigCache
configCache = _componentFactories.GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
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;
339
BuildRequestConfiguration config = ((
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId];
429
IConfigCache
configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
509
IConfigCache
globalConfigurations = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
593
_configCache = (
IConfigCache
)host.GetComponent(BuildComponentType.ConfigCache);
1118
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)
166
private Lazy<
IConfigCache
> _configCache;
304
_configCache = new Lazy<
IConfigCache
>(() => (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
42
private readonly
IConfigCache
_configCache;
82
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
;
533
if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is
IConfigCache
configCache)
Microsoft.Build.Engine.UnitTests (87)
BackEnd\BuildRequestEngine_Tests.cs (2)
276
private
IConfigCache
_cache;
294
_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)
737
(_host.GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (67)
102
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
121
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
147
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
175
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
359
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
498
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
523
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
548
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
577
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
611
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
642
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
672
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
697
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
732
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
757
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
783
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
812
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
855
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
881
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
907
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
938
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1035
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1069
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1119
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1178
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1219
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1264
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1294
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1367
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1399
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1425
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1643
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1678
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1694
private
IConfigCache
_configCache;
BackEnd\TargetEntry_Tests.cs (1)
1203
private
IConfigCache
_configCache;
BackEnd\TaskBuilder_Tests.cs (3)
1230
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1249
private
IConfigCache
_configCache;