2 implementations of IConfigCache
Microsoft.Build (2)
BackEnd\Components\Caching\ConfigCache.cs (1)
21
internal class ConfigCache :
IConfigCache
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
12
internal class ConfigCacheWithOverride :
IConfigCache
40 references to IConfigCache
Microsoft.Build (40)
BackEnd\BuildManager\BuildManager.cs (6)
89
private
IConfigCache
? _configCache;
815
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
973
_configCache = ((IBuildComponentHost)this).GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
994
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
3017
IConfigCache
configCache = _componentFactories.GetComponent<
IConfigCache
>(BuildComponentType.ConfigCache);
BackEnd\BuildManager\CacheAggregator.cs (6)
17
private readonly List<(
IConfigCache
ConfigCache, IResultsCache ResultsCache)> _inputCaches = new List<(
IConfigCache
ConfigCache, IResultsCache ResultsCache)>();
29
public void Add(
IConfigCache
configCache, IResultsCache resultsCache)
55
private void InsertCaches(
IConfigCache
configCache, IResultsCache resultsCache)
103
public CacheAggregation(
IConfigCache
configCache, IResultsCache resultsCache, int lastConfigurationId)
110
public
IConfigCache
ConfigCache { get; }
BackEnd\BuildManager\CacheSerialization.cs (2)
18
IConfigCache
configCache,
101
public static (
IConfigCache
ConfigCache, IResultsCache ResultsCache, Exception exception) DeserializeCaches(string inputCacheFile)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (9)
102
private
IConfigCache
_configCache;
383
BuildRequestConfiguration config = ((
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId];
488
IConfigCache
configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
573
IConfigCache
globalConfigurations = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
653
_configCache = (
IConfigCache
)host.GetComponent(BuildComponentType.ConfigCache);
1180
IConfigCache
globalConfigCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (2)
14
private readonly
IConfigCache
_override;
17
public ConfigCacheWithOverride(
IConfigCache
@override)
BackEnd\Components\Logging\LoggingService.cs (3)
174
private Lazy<
IConfigCache
> _configCache;
318
_configCache = new Lazy<
IConfigCache
>(() => (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
47
private readonly
IConfigCache
_configCache;
87
IConfigCache
configCache,
BackEnd\Components\Scheduler\Scheduler.cs (4)
136
private
IConfigCache
_configCache;
691
_configCache = (
IConfigCache
)_componentHost.GetComponent(BuildComponentType.ConfigCache);
2095
static BuildRequestConfiguration GetParentConfigurationId(BuildRequest request,
IConfigCache
configCache, SchedulingData schedulingData)
2129
static bool SkipNonexistentTargetsIfExistentTargetsHaveResults(BuildRequest buildRequest,
IConfigCache
configCache, IResultsCache resultsCache)
BackEnd\Components\Scheduler\SchedulingData.cs (1)
512
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)
82
private readonly
IConfigCache
_globalConfigCache;
157
_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.ConfigCache) as
IConfigCache
;
557
if (_componentFactories.GetComponent(BuildComponentType.ConfigCache) is
IConfigCache
configCache)