27 references to ResultsCache
Microsoft.Build (16)
BackEnd\BuildManager\BuildManager.cs (3)
695
_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.
ResultsCache
);
851
_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.
ResultsCache
);
3264
_componentFactories.ReplaceFactory(BuildComponentType.
ResultsCache
, new ResultsCacheWithOverride(cacheAggregation.ResultsCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
65
_componentEntriesByType[BuildComponentType.
ResultsCache
] = new BuildComponentEntry(BuildComponentType.
ResultsCache
, ResultsCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
342
IResultsCache cache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
434
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
525
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
881
_componentHost.GetComponent(BuildComponentType.
ResultsCache
) as IResultsCache;
1214
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 (2)
1223
var resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
1260
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
138
IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
BackEnd\Components\Scheduler\Scheduler.cs (1)
630
_resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.
ResultsCache
);
BackEnd\Node\OutOfProcNode.cs (1)
543
if (_componentFactories.GetComponent(BuildComponentType.
ResultsCache
) is IResultsCache resultsCache)
Microsoft.Build.Engine.UnitTests (11)
BackEnd\MockHost.cs (1)
206
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,
BackEnd\Scheduler_Tests.cs (2)
612
Assert.Null(((ResultsCacheWithOverride)_host.GetComponent(BuildComponentType.
ResultsCache
)).CurrentCache.GetResultsForConfiguration(1));
760
(_host.GetComponent(BuildComponentType.
ResultsCache
) as IResultsCache).AddResult(result);
BackEnd\TargetBuilder_Tests.cs (6)
134
IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.
ResultsCache
);
157
IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.
ResultsCache
);
190
IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.
ResultsCache
);
1434
IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.
ResultsCache
);
1460
IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.
ResultsCache
);
1850
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,
BackEnd\TargetEntry_Tests.cs (1)
1321
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,
BackEnd\TaskBuilder_Tests.cs (1)
1378
BuildComponentType.
ResultsCache
=> (IBuildComponent)_resultsCache,