using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; namespace Umbraco.Core.Models.Packaging { /// /// The model of the package definition within an umbraco (zip) package file /// public class CompiledPackage : IPackageInfo { public FileInfo PackageFile { get; set; } public string Name { get; set; } public string Version { get; set; } public string Url { get; set; } public string License { get; set; } public string LicenseUrl { get; set; } public Version UmbracoVersion { get; set; } public RequirementsType UmbracoVersionRequirementsType { get; set; } public string Author { get; set; } public string AuthorUrl { get; set; } public IList Contributors { get; set; } public string Readme { get; set; } public string PackageView { get; set; } public string IconUrl { get; set; } public string Actions { get; set; } // TODO: Should we make this strongly typed to IEnumerable ? public PreInstallWarnings Warnings { get; set; } = new PreInstallWarnings(); public List Files { get; set; } = new List(); public IEnumerable Macros { get; set; } // TODO: make strongly typed public IEnumerable Templates { get; set; } // TODO: make strongly typed public IEnumerable Stylesheets { get; set; } // TODO: make strongly typed public IEnumerable DataTypes { get; set; } // TODO: make strongly typed public IEnumerable Languages { get; set; } // TODO: make strongly typed public IEnumerable DictionaryItems { get; set; } // TODO: make strongly typed public IEnumerable DocumentTypes { get; set; } // TODO: make strongly typed public IEnumerable Documents { get; set; } } }