public CommandOpenModUpdate( IConfiguration configuration, IOpenModStringLocalizer stringLocalizer, IServiceProvider serviceProvider, NuGetPluginAssembliesSource nuGetPlugins) : base(serviceProvider) { m_Configuration = configuration; m_StringLocalizer = stringLocalizer; m_NuGetPlugins = nuGetPlugins; }
internal async Task LoadPluginAssembliesAsync() { var pluginsDirectory = Path.Combine(m_Runtime.WorkingDirectory, "plugins"); var fileSystemPluginAssembliesSource = new FileSystemPluginAssembliesSource(pluginsDirectory); await RegisterPluginAssembliesAsync(fileSystemPluginAssembliesSource); var nugetPluginAssembliesSource = new NuGetPluginAssembliesSource(m_NuGetPackageManager); await RegisterPluginAssembliesAsync(nugetPluginAssembliesSource); }
public CommandOpenModInstall(IServiceProvider serviceProvider, NuGetPluginAssembliesSource nuGetPlugins) : base(serviceProvider) { m_NuGetPlugins = nuGetPlugins; }
public CommandOpenModRemove(IServiceProvider serviceProvider, NuGetPluginAssembliesSource nuGetPlugis) : base(serviceProvider) { m_NuGetPlugis = nuGetPlugis; }