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
130 references to IConfigCache
Microsoft.Build (43)
BackEnd\BuildManager\BuildManager.cs (6)
88
private
IConfigCache
? _configCache;
694
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
850
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
871
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
2703
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;
345
BuildRequestConfiguration config = ((
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId];
435
IConfigCache
configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
515
IConfigCache
globalConfigurations = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
599
_configCache = (
IConfigCache
)host.GetComponent(BuildComponentType.ConfigCache);
1124
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)
28
private
IConfigCache
? _configCache;
46
_configCache = host.GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
BackEnd\Components\Logging\LoggingService.cs (3)
172
private Lazy<
IConfigCache
> _configCache;
311
_configCache = new Lazy<
IConfigCache
>(() => (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
45
private readonly
IConfigCache
_configCache;
85
IConfigCache
configCache,
BackEnd\Components\Scheduler\Scheduler.cs (4)
125
private
IConfigCache
_configCache;
631
_configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
1962
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)
79
private readonly
IConfigCache
_globalConfigCache;
154
_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
548
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)
27
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);
122
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
149
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
178
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
363
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
503
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
529
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
555
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
585
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
620
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
652
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
683
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
709
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
745
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
771
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
798
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
828
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
872
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
899
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
926
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
958
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1056
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1091
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1142
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1202
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1244
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1290
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1321
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1395
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1428
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1455
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1674
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1710
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1726
private
IConfigCache
_configCache;
BackEnd\TargetEntry_Tests.cs (1)
1205
private
IConfigCache
_configCache;
BackEnd\TaskBuilder_Tests.cs (3)
1240
IConfigCache
cache = (
IConfigCache
)_host.GetComponent(BuildComponentType.ConfigCache);
1260
private
IConfigCache
_configCache;