Files
Umbraco-CMS/src/Umbraco.Infrastructure/Models/ContentEditing/PostedFiles.cs

25 lines
831 B
C#
Raw Normal View History

2017-07-20 11:21:28 +02:00
using System.Collections.Generic;
using System.Runtime.Serialization;
using Umbraco.Core.Models.Editors;
namespace Umbraco.Web.Models.ContentEditing
{
/// <summary>
2017-07-20 11:21:28 +02:00
/// 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]
2020-01-20 15:20:21 +01:00
public class PostedFiles : IHaveUploadedFiles, INotificationModel
{
public PostedFiles()
{
UploadedFiles = new List<ContentPropertyFile>();
2020-01-20 11:37:19 +01:00
Notifications = new List<BackOfficeNotification>();
}
public List<ContentPropertyFile> UploadedFiles { get; private set; }
[DataMember(Name = "notifications")]
2020-01-20 11:37:19 +01:00
public List<BackOfficeNotification> Notifications { get; private set; }
}
2017-07-20 11:21:28 +02:00
}