Exemplo n.º 1
0
 private ProjectCacheDescriptor(
     ProjectCachePluginBase pluginInstance,
     IReadOnlyCollection <ProjectGraphEntryPoint>?entryPoints,
     ProjectGraph?projectGraph,
     IReadOnlyDictionary <string, string>?pluginSettings) : this(entryPoints, projectGraph, pluginSettings)
 {
     PluginInstance = pluginInstance;
 }
Exemplo n.º 2
0
 public static ProjectCacheDescriptor FromInstance(
     ProjectCachePluginBase pluginInstance,
     IReadOnlyCollection <ProjectGraphEntryPoint>?entryPoints,
     ProjectGraph?projectGraph,
     IReadOnlyDictionary <string, string>?pluginSettings = null)
 {
     return(new ProjectCacheDescriptor(pluginInstance, entryPoints, projectGraph, pluginSettings));
 }
Exemplo n.º 3
0
 private ProjectCacheService(
     ProjectCachePluginBase projectCachePlugin,
     BuildManager buildManager,
     PluginLoggerBase logger,
     ProjectCacheDescriptor projectCacheDescriptor,
     CancellationToken cancellationToken)
 {
     _projectCachePlugin     = projectCachePlugin;
     _buildManager           = buildManager;
     _logger                 = logger;
     _projectCacheDescriptor = projectCacheDescriptor;
     _cancellationToken      = cancellationToken;
 }