2 implementations of IResultsCache
Microsoft.Build (2)
BackEnd\Components\Caching\ResultsCache.cs (1)
19
internal class ResultsCache :
IResultsCache
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
13
internal class ResultsCacheWithOverride :
IResultsCache
46 references to IResultsCache
Microsoft.Build (30)
BackEnd\BuildManager\BuildManager.cs (3)
92
private
IResultsCache
? _resultsCache;
687
_resultsCache = ((IBuildComponentHost)this).GetComponent<
IResultsCache
>(BuildComponentType.ResultsCache);
834
_resultsCache = ((IBuildComponentHost)this).GetComponent<
IResultsCache
>(BuildComponentType.ResultsCache);
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)
112
public
IResultsCache
ResultsCache { get; }
BackEnd\BuildManager\CacheSerialization.cs (2)
18
IResultsCache
resultsCache,
115
public static (IConfigCache ConfigCache,
IResultsCache
ResultsCache, Exception exception) DeserializeCaches(string inputCacheFile)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (10)
339
IResultsCache
cache = (
IResultsCache
)_componentHost.GetComponent(BuildComponentType.ResultsCache);
431
IResultsCache
resultsCache = (
IResultsCache
)_componentHost.GetComponent(BuildComponentType.ResultsCache);
522
IResultsCache
resultsCache = (
IResultsCache
)_componentHost.GetComponent(BuildComponentType.ResultsCache);
877
IResultsCache
resultsCache =
878
_componentHost.GetComponent(BuildComponentType.ResultsCache) as
IResultsCache
;
1211
IResultsCache
resultsCache = (
IResultsCache
)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (2)
15
private readonly
IResultsCache
_override;
19
public ResultsCacheWithOverride(
IResultsCache
@override)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1234
var
resultsCache = (
IResultsCache
)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
133
IResultsCache
resultsCache = (
IResultsCache
)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Scheduler\Scheduler.cs (2)
131
private
IResultsCache
_resultsCache;
631
_resultsCache = (
IResultsCache
)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Node\OutOfProcNode.cs (1)
541
if (_componentFactories.GetComponent(BuildComponentType.ResultsCache) is
IResultsCache
resultsCache)
Microsoft.Build.Engine.UnitTests (16)
BackEnd\MockHost.cs (1)
51
private
IResultsCache
_resultsCache;
BackEnd\RequestBuilder_Tests.cs (1)
343
private
IResultsCache
_cache;
BackEnd\Scheduler_Tests.cs (1)
761
(_host.GetComponent(BuildComponentType.ResultsCache) as
IResultsCache
).AddResult(result);
BackEnd\TargetBuilder_Tests.cs (11)
135
IResultsCache
resultsCache = (
IResultsCache
)_host.GetComponent(BuildComponentType.ResultsCache);
158
IResultsCache
resultsCache = (
IResultsCache
)_host.GetComponent(BuildComponentType.ResultsCache);
191
IResultsCache
resultsCache = (
IResultsCache
)_host.GetComponent(BuildComponentType.ResultsCache);
1435
IResultsCache
resultsCache = (
IResultsCache
)_host.GetComponent(BuildComponentType.ResultsCache);
1461
IResultsCache
resultsCache = (
IResultsCache
)_host.GetComponent(BuildComponentType.ResultsCache);
1737
private
IResultsCache
_resultsCache;
BackEnd\TargetEntry_Tests.cs (1)
1216
private
IResultsCache
_resultsCache;
BackEnd\TaskBuilder_Tests.cs (1)
1271
private
IResultsCache
_resultsCache;