3 instantiations of ProjectCachePlugin
Microsoft.Build (3)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (3)
244
return new
ProjectCachePlugin
(
349
return new
ProjectCachePlugin
(
363
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);
164
private Task<
ProjectCachePlugin
> GetProjectCachePluginAsync(
174
descriptor => new Lazy<Task<
ProjectCachePlugin
>>(() => CreateAndInitializePluginAsync(descriptor, projectGraph, buildRequestConfiguration, requestedTargets, cancellationToken)))
200
private async Task<
ProjectCachePlugin
> CreateAndInitializePluginAsync(
618
ProjectCachePlugin
plugin = await GetProjectCachePluginAsync(projectCacheDescriptor, projectGraph: null, buildRequestConfiguration, requestedTargetsList, cancellationToken);
891
if (!_projectCachePlugins.TryGetValue(projectCacheDescriptor, out Lazy<Task<
ProjectCachePlugin
>>? pluginLazyTask))
898
ProjectCachePlugin
plugin = await pluginLazyTask.Value;
969
foreach (KeyValuePair<ProjectCacheDescriptor, Lazy<Task<
ProjectCachePlugin
>>> kvp in _projectCachePlugins)
973
ProjectCachePlugin
plugin = await kvp.Value.Value;