consolidate Infrastructure interface and implementation classes

This commit is contained in:
sbwalker
2025-08-13 14:44:42 -04:00
parent b7ff49bdb2
commit e900d2f35a
27 changed files with 125 additions and 187 deletions

View File

@ -18,6 +18,15 @@ using Oqtane.Shared;
namespace Oqtane.Infrastructure
{
public interface IInstallationManager
{
void InstallPackages();
bool UninstallPackage(string PackageName);
int RegisterAssemblies();
Task UpgradeFramework(bool backup);
void RestartApplication();
}
public class InstallationManager : IInstallationManager
{
private readonly IHostApplicationLifetime _hostApplicationLifetime;