26 references to ResultsCache
Microsoft.Build (15)
BackEnd\BuildManager\BuildManager.cs (3)
687
_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.
ResultsCache
);
834
_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.
ResultsCache
);
3210
_componentFactories.ReplaceFactory(BuildComponentType.
ResultsCache
, new ResultsCacheWithOverride(cacheAggregation.ResultsCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
62
_componentEntriesByType[BuildComponentType.
ResultsCache
] = new BuildComponentEntry(BuildComponentType.
ResultsCache
, ResultsCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
339
IResultsCache cache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
431
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
522
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
878
_componentHost.GetComponent(BuildComponentType.
ResultsCache
) as IResultsCache;
1211
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
BackEnd\Components\Caching\ResultsCache.cs (1)
302
ErrorUtilities.VerifyThrow(componentType == BuildComponentType.
ResultsCache
, "Cannot create components of type {0}", componentType);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1234
var resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
133
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
BackEnd\Components\Scheduler\Scheduler.cs (1)
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 (11)
BackEnd\MockHost.cs (1)
200
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,
BackEnd\Scheduler_Tests.cs (2)
613
Assert.Null(((ResultsCacheWithOverride)_host.GetComponent(BuildComponentType.
ResultsCache
)).CurrentCache.GetResultsForConfiguration(1));
761
(_host.GetComponent(BuildComponentType.
ResultsCache
) as IResultsCache).AddResult(result);
BackEnd\TargetBuilder_Tests.cs (6)
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
);
1851
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,
BackEnd\TargetEntry_Tests.cs (1)
1322
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,
BackEnd\TaskBuilder_Tests.cs (1)
1379
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,