2 implementations of IConfigCache
Microsoft.Build (2)
BackEnd\Components\Caching\ConfigCache.cs (1)
22
internal class ConfigCache :
IConfigCache
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
13
internal class ConfigCacheWithOverride :
IConfigCache
127 references to IConfigCache
Microsoft.Build (42)
BackEnd\BuildManager\BuildManager.cs (6)
88
private
IConfigCache
? _configCache;
751
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
909
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
930
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
2855
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)
18
IConfigCache
configCache,
116
public static (
IConfigCache
ConfigCache, IResultsCache ResultsCache, Exception exception) DeserializeCaches(string inputCacheFile)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (9)
92
private
IConfigCache
_configCache;
358
BuildRequestConfiguration config = ((
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId];
463
IConfigCache
configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
548
IConfigCache
globalConfigurations = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
632
_configCache = (
IConfigCache
)host.GetComponent(BuildComponentType.ConfigCache);
1156
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\FileAccesses\FileAccessManager.cs (2)
29
private
IConfigCache
? _configCache;
47
_configCache = host.GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
BackEnd\Components\Logging\LoggingService.cs (3)
173
private Lazy<
IConfigCache
> _configCache;
317
_configCache = new Lazy<
IConfigCache
>(() => (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
46
private readonly
IConfigCache
_configCache;
86
IConfigCache
configCache,
BackEnd\Components\Scheduler\Scheduler.cs (4)
135
private
IConfigCache
_configCache;
677
_configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
2085
static BuildRequestConfiguration GetParentConfigurationId(BuildRequest request,
IConfigCache
configCache, SchedulingData schedulingData)
2121
static bool SkipNonexistentTargetsIfExistentTargetsHaveResults(BuildRequest buildRequest,
IConfigCache
configCache, IResultsCache resultsCache)
BackEnd\Components\Scheduler\SchedulingData.cs (1)
513
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)
81
private readonly
IConfigCache
_globalConfigCache;
156
_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
556
if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is
IConfigCache
configCache)
Microsoft.Build.Engine.UnitTests (85)
BackEnd\BuildRequestEngine_Tests.cs (2)
270
private
IConfigCache
_cache;
288
_cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (1)
27
private
IConfigCache
_configCache;
BackEnd\RequestBuilder_Tests.cs (12)
89
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
119
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
152
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
191
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
230
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
305
IConfigCache
configCache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Scheduler_Tests.cs (1)
742
(_host.GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (67)
107
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
127
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
154
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
183
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
368
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
508
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
534
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
560
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
590
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
625
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
657
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
688
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
714
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
750
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
776
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
803
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
833
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
877
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
904
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
931
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
963
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1061
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1096
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1147
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1207
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1249
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1295
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1326
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1400
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1433
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1460
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1679
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1715
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1731
private
IConfigCache
_configCache;
BackEnd\TargetEntry_Tests.cs (1)
1102
private
IConfigCache
_configCache;
BackEnd\TaskBuilder_Tests.cs (1)
1201
private
IConfigCache
_configCache;