added PackageName property to IModule and ITheme interfaces to allow creators to specify the Nuget package name associated to a specific module/theme. This is necessary for packages which contain multiple extensions.

This commit is contained in:
Shaun Walker
2021-05-24 08:59:50 -04:00
parent 41ed069072
commit 5c21ab37ee
8 changed files with 35 additions and 20 deletions

View File

@ -28,6 +28,7 @@ namespace Oqtane.Models
ReleaseVersions = "";
DefaultAction = "";
SettingsType = "";
PackageName = "";
Runtimes = "";
Template = "";
}
@ -92,6 +93,8 @@ namespace Oqtane.Models
public string DefaultAction { get; set; }
[NotMapped]
public string SettingsType { get; set; } // added in 2.0.2
[NotMapped]
public string PackageName { get; set; } // added in 2.1.0
// internal properties
[NotMapped]

View File

@ -15,6 +15,9 @@ namespace Oqtane.Models
License = "";
Dependencies = "";
Template = "";
ThemeSettingsType = "";
ContainerSettingsType = "";
PackageName = "";
}
public string ThemeName { get; set; }
@ -25,8 +28,9 @@ namespace Oqtane.Models
public string Contact { get; set; }
public string License { get; set; }
public string Dependencies { get; set; }
public string ThemeSettingsType { get; set; }
public string ContainerSettingsType { get; set; }
public string ThemeSettingsType { get; set; } // added in 2.0.2
public string ContainerSettingsType { get; set; } // added in 2.0.2
public string PackageName { get; set; } // added in 2.1.0
// internal properties
public string AssemblyName { get; set; }