3 instantiations of ProjectCachePlugin
Microsoft.Build (3)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (3)
240
return new
ProjectCachePlugin
(
345
return new
ProjectCachePlugin
(
359
return new
ProjectCachePlugin
(
9 references to ProjectCachePlugin
Microsoft.Build (9)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (9)
51
private readonly ConcurrentDictionary<ProjectCacheDescriptor, Lazy<Task<
ProjectCachePlugin
>>> _projectCachePlugins = new(ProjectCacheDescriptorEqualityComparer.Instance);
161
private Task<
ProjectCachePlugin
> GetProjectCachePluginAsync(
171
descriptor => new Lazy<Task<
ProjectCachePlugin
>>(() => CreateAndInitializePluginAsync(descriptor, projectGraph, buildRequestConfiguration, requestedTargets, cancellationToken)))
196
private async Task<
ProjectCachePlugin
> CreateAndInitializePluginAsync(
617
ProjectCachePlugin
plugin = await GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, requestedTargetsList, cancellationToken);
889
if (!_projectCachePlugins.TryGetValue(projectCacheDescriptor, out Lazy<Task<
ProjectCachePlugin
>>? pluginLazyTask))
896
ProjectCachePlugin
plugin = await pluginLazyTask.Value;
967
foreach (KeyValuePair<ProjectCacheDescriptor, Lazy<Task<
ProjectCachePlugin
>>> kvp in _projectCachePlugins)
971
ProjectCachePlugin
plugin = await kvp.Value.Value;