using System; using System.Collections.Generic; namespace Oqtane.Models { /// /// Information about a Theme in Oqtane. /// public class Theme { public Theme() { Name = ""; Version = ""; Owner = ""; Url = ""; Contact = ""; License = ""; Dependencies = ""; Template = ""; ThemeSettingsType = ""; ContainerSettingsType = ""; PackageName = ""; } /// /// Full Namespace / Identifier of the Theme. /// public string ThemeName { get; set; } /// /// Nice Name of the Theme. /// public string Name { get; set; } /// /// Version as determined by the DLL / NuGet Package. /// public string Version { get; set; } /// /// Author / Creator of the Theme. /// public string Owner { get; set; } /// /// URL (in NuGet) of the Theme /// public string Url { get; set; } /// /// Author Contact information /// public string Contact { get; set; } /// /// Theme License, like `MIT` etc. /// public string License { get; set; } /// /// Theme Dependencies (DLLs) which the system will check if they exist /// public string Dependencies { 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; } public List Themes { get; set; } public List Containers { get; set; } public string Template { get; set; } #region Obsolete Properties [Obsolete("This property is obsolete. Use Themes instead.", false)] public string ThemeControls { get; set; } [Obsolete("This property is obsolete. Use Layouts instead.", false)] public string PaneLayouts { get; set; } [Obsolete("This property is obsolete. Use Containers instead.", false)] public string ContainerControls { get; set; } [Obsolete("This property is obsolete.", false)] public List Layouts { get; set; } #endregion } }