Files
Umbraco-CMS/src/Umbraco.Web/Models/ContentEditing/Notification.cs

31 lines
740 B
C#

using System.Runtime.Serialization;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "notification", Namespace = "")]
public class Notification
{
public Notification()
{
}
public Notification(string header, string message, NotificationStyle notificationType)
{
Header = header;
Message = message;
NotificationType = notificationType;
}
[DataMember(Name = "header")]
public string Header { get; set; }
[DataMember(Name = "message")]
public string Message { get; set; }
[DataMember(Name = "type")]
public NotificationStyle NotificationType { get; set; }
}
}