3 instantiations of ProjectCachePlugin
Microsoft.Build (3)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (3)
233
return new
ProjectCachePlugin
(
294
return new
ProjectCachePlugin
(
304
return new
ProjectCachePlugin
(
9 references to ProjectCachePlugin
Microsoft.Build (9)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (9)
49
private readonly ConcurrentDictionary<ProjectCacheDescriptor, Lazy<Task<
ProjectCachePlugin
>>> _projectCachePlugins = new(ProjectCacheDescriptorEqualityComparer.Instance);
159
private Task<
ProjectCachePlugin
> GetProjectCachePluginAsync(
169
descriptor => new Lazy<Task<
ProjectCachePlugin
>>(() => CreateAndInitializePluginAsync(descriptor, projectGraph, buildRequestConfiguration, requestedTargets, cancellationToken)))
194
private async Task<
ProjectCachePlugin
> CreateAndInitializePluginAsync(
535
ProjectCachePlugin
plugin = await GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, requestedTargetsList, cancellationToken);
759
if (!_projectCachePlugins.TryGetValue(projectCacheDescriptor, out Lazy<Task<
ProjectCachePlugin
>>? pluginLazyTask))
766
ProjectCachePlugin
plugin = await pluginLazyTask.Value;
823
foreach (KeyValuePair<ProjectCacheDescriptor, Lazy<Task<
ProjectCachePlugin
>>> kvp in _projectCachePlugins)
827
ProjectCachePlugin
plugin = await kvp.Value.Value;