Class SimpleNotificationModel
Inheritance
System.Object
Namespace: Umbraco.Web.Models.ContentEditing
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "notificationModel", Namespace = "")]
public class SimpleNotificationModel : INotificationModel
Constructors
View SourceSimpleNotificationModel()
Declaration
public SimpleNotificationModel()
SimpleNotificationModel(Notification[])
Declaration
public SimpleNotificationModel(params Notification[] notifications)
Parameters
Type | Name | Description |
---|---|---|
Notification[] | notifications |
Properties
View SourceMessage
A default message
Declaration
[DataMember(Name = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Notifications
This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes.
Declaration
[DataMember(Name = "notifications")]
public List<Notification> Notifications { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Notification> |