added IInstallable interface and uninstall implementation for modules. Refactoring module installation to use interface still in progress.

This commit is contained in:
Shaun Walker
2020-04-26 13:15:02 -04:00
parent e4850c4d27
commit 58d3c406cd
15 changed files with 158 additions and 76 deletions

View File

@ -19,6 +19,7 @@ namespace Oqtane.Models
PermissionNames = "";
ServerManagerType = "";
ControlTypeRoutes = "";
ReleaseVersions = "";
Template = "";
}
@ -34,8 +35,7 @@ namespace Oqtane.Models
public string ModifiedBy { get; set; }
public DateTime ModifiedOn { get; set; }
[NotMapped]
public int SiteId { get; set; }
// additional IModule properties
[NotMapped]
public string Owner { get; set; }
[NotMapped]
@ -53,12 +53,18 @@ namespace Oqtane.Models
[NotMapped]
public string ControlTypeRoutes { get; set; }
[NotMapped]
public string Template { get; set; }
public string ReleaseVersions { get; set; }
// internal properties
[NotMapped]
public int SiteId { get; set; }
[NotMapped]
public string ControlTypeTemplate { get; set; }
[NotMapped]
public string AssemblyName { get; set; }
[NotMapped]
public string Permissions { get; set; }
[NotMapped]
public string Template { get; set; }
}
}