3 instantiations of ProjectCachePlugin
Microsoft.Build (3)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (3)
239
return new
ProjectCachePlugin
(
344
return new
ProjectCachePlugin
(
358
return new
ProjectCachePlugin
(
9 references to ProjectCachePlugin
Microsoft.Build (9)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (9)
50
private readonly ConcurrentDictionary<ProjectCacheDescriptor, Lazy<Task<
ProjectCachePlugin
>>> _projectCachePlugins = new(ProjectCacheDescriptorEqualityComparer.Instance);
160
private Task<
ProjectCachePlugin
> GetProjectCachePluginAsync(
170
descriptor => new Lazy<Task<
ProjectCachePlugin
>>(() => CreateAndInitializePluginAsync(descriptor, projectGraph, buildRequestConfiguration, requestedTargets, cancellationToken)))
195
private async Task<
ProjectCachePlugin
> CreateAndInitializePluginAsync(
616
ProjectCachePlugin
plugin = await GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, requestedTargetsList, cancellationToken);
863
if (!_projectCachePlugins.TryGetValue(projectCacheDescriptor, out Lazy<Task<
ProjectCachePlugin
>>? pluginLazyTask))
870
ProjectCachePlugin
plugin = await pluginLazyTask.Value;
941
foreach (KeyValuePair<ProjectCacheDescriptor, Lazy<Task<
ProjectCachePlugin
>>> kvp in _projectCachePlugins)
945
ProjectCachePlugin
plugin = await kvp.Value.Value;