Beispiel #1
0
 private ProjectCacheDescriptor(
     ProjectCachePluginBase pluginInstance,
     IReadOnlyCollection <ProjectGraphEntryPoint>?entryPoints,
     ProjectGraph?projectGraph,
     IReadOnlyDictionary <string, string>?pluginSettings) : this(entryPoints, projectGraph, pluginSettings)
 {
     PluginInstance = pluginInstance;
 }
Beispiel #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));
 }
Beispiel #3
0
 private ProjectCacheService(
     ProjectCachePluginBase projectCachePlugin,
     BuildManager buildManager,
     PluginLoggerBase logger,
     ProjectCacheDescriptor projectCacheDescriptor,
     CancellationToken cancellationToken)
 {
     _projectCachePlugin     = projectCachePlugin;
     _buildManager           = buildManager;
     _logger                 = logger;
     _projectCacheDescriptor = projectCacheDescriptor;
     _cancellationToken      = cancellationToken;
 }