2 implementations of IResultsCache
Microsoft.Build (2)
BackEnd\Components\Caching\ResultsCache.cs (1)
19internal class ResultsCache : IResultsCache
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
13internal class ResultsCacheWithOverride : IResultsCache
48 references to IResultsCache
Microsoft.Build (32)
BackEnd\BuildManager\BuildManager.cs (3)
93private IResultsCache? _resultsCache; 695_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 851_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache);
BackEnd\BuildManager\CacheAggregator.cs (6)
18private readonly List<(IConfigCache ConfigCache, IResultsCache ResultsCache)> _inputCaches = new List<(IConfigCache ConfigCache, IResultsCache ResultsCache)>(); 30public void Add(IConfigCache configCache, IResultsCache resultsCache) 56private void InsertCaches(IConfigCache configCache, IResultsCache resultsCache) 104public CacheAggregation(IConfigCache configCache, IResultsCache resultsCache, int lastConfigurationId) 112public IResultsCache ResultsCache { get; }
BackEnd\BuildManager\CacheSerialization.cs (2)
18IResultsCache resultsCache, 115public static (IConfigCache ConfigCache, IResultsCache ResultsCache, Exception exception) DeserializeCaches(string inputCacheFile)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (10)
342IResultsCache cache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 434IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 525IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 880IResultsCache resultsCache = 881_componentHost.GetComponent(BuildComponentType.ResultsCache) as IResultsCache; 1214IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (2)
15private readonly IResultsCache _override; 19public ResultsCacheWithOverride(IResultsCache @override)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (4)
1223var resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 1260IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
138IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Scheduler\Scheduler.cs (2)
130private IResultsCache _resultsCache; 630_resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Node\OutOfProcNode.cs (1)
553if (_componentFactories.GetComponent(BuildComponentType.ResultsCache) is IResultsCache resultsCache)
Microsoft.Build.Engine.UnitTests (16)
BackEnd\MockHost.cs (1)
52private IResultsCache _resultsCache;
BackEnd\RequestBuilder_Tests.cs (1)
343private IResultsCache _cache;
BackEnd\Scheduler_Tests.cs (1)
760(_host.GetComponent(BuildComponentType.ResultsCache) as IResultsCache).AddResult(result);
BackEnd\TargetBuilder_Tests.cs (11)
134IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 157IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 190IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1434IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1460IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1736private IResultsCache _resultsCache;
BackEnd\TargetEntry_Tests.cs (1)
1215private IResultsCache _resultsCache;
BackEnd\TaskBuilder_Tests.cs (1)
1270private IResultsCache _resultsCache;