Package installing is working

This commit is contained in:
Shannon
2019-01-15 22:08:08 +11:00
parent b3585b0083
commit 44ab0991ce
52 changed files with 669 additions and 795 deletions

View File

@@ -11,16 +11,10 @@ namespace Umbraco.Web.Models
[DataContract(Name = "localPackageInstallModel")]
public class LocalPackageInstallModel : PackageInstallModel, IHaveUploadedFiles, INotificationModel
{
public LocalPackageInstallModel()
{
UploadedFiles = new List<ContentPropertyFile>();
Notifications = new List<Notification>();
}
public List<ContentPropertyFile> UploadedFiles { get; }
public List<ContentPropertyFile> UploadedFiles { get; } = new List<ContentPropertyFile>();
[DataMember(Name = "notifications")]
public List<Notification> Notifications { get; }
public List<Notification> Notifications { get; } = new List<Notification>();
/// <summary>
/// A flag to determine if this package is compatible to be installed