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

31 lines
740 B
C#
Raw Normal View History

2018-06-29 19:52:40 +02:00
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)
2018-06-29 19:52:40 +02:00
{
Header = header;
Message = message;
NotificationType = notificationType;
}
[DataMember(Name = "header")]
public string Header { get; set; }
2018-06-29 19:52:40 +02:00
[DataMember(Name = "message")]
public string Message { get; set; }
2018-06-29 19:52:40 +02:00
[DataMember(Name = "type")]
public NotificationStyle NotificationType { get; set; }
2018-06-29 19:52:40 +02:00
}
}