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
46 references to IResultsCache
Microsoft.Build (30)
BackEnd\BuildManager\BuildManager.cs (3)
91private IResultsCache? _resultsCache; 686_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 833_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)
339IResultsCache cache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 431IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 522IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 877IResultsCache resultsCache = 878_componentHost.GetComponent(BuildComponentType.ResultsCache) as IResultsCache; 1211IResultsCache 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 (2)
1234var resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
133IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Scheduler\Scheduler.cs (2)
131private IResultsCache _resultsCache; 631_resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Node\OutOfProcNode.cs (1)
541if (_componentFactories.GetComponent(BuildComponentType.ResultsCache) is IResultsCache resultsCache)
Microsoft.Build.Engine.UnitTests (16)
BackEnd\MockHost.cs (1)
51private IResultsCache _resultsCache;
BackEnd\RequestBuilder_Tests.cs (1)
343private IResultsCache _cache;
BackEnd\Scheduler_Tests.cs (1)
761(_host.GetComponent(BuildComponentType.ResultsCache) as IResultsCache).AddResult(result);
BackEnd\TargetBuilder_Tests.cs (11)
135IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 158IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 191IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1435IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1461IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1737private IResultsCache _resultsCache;
BackEnd\TargetEntry_Tests.cs (1)
1216private IResultsCache _resultsCache;
BackEnd\TaskBuilder_Tests.cs (1)
1271private IResultsCache _resultsCache;