25 lines
831 B
C#
25 lines
831 B
C#
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
using Umbraco.Core.Models.Editors;
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
{
|
|
/// <summary>
|
|
/// This is used for the response of PostAddFile so that we can analyze the response in a filter and remove the
|
|
/// temporary files that were created.
|
|
/// </summary>
|
|
[DataContract]
|
|
public class PostedFiles : IHaveUploadedFiles, INotificationModel
|
|
{
|
|
public PostedFiles()
|
|
{
|
|
UploadedFiles = new List<ContentPropertyFile>();
|
|
Notifications = new List<BackOfficeNotification>();
|
|
}
|
|
public List<ContentPropertyFile> UploadedFiles { get; private set; }
|
|
|
|
[DataMember(Name = "notifications")]
|
|
public List<BackOfficeNotification> Notifications { get; private set; }
|
|
}
|
|
}
|