Class SimpleNotificationModel
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "notificationModel", Namespace = "")]
public class SimpleNotificationModel : INotificationModel
Constructors
View SourceSimpleNotificationModel()
Declaration
public SimpleNotificationModel()
SimpleNotificationModel(BackOfficeNotification[])
Declaration
public SimpleNotificationModel(params BackOfficeNotification[] notifications)
Parameters
Type | Name | Description |
---|---|---|
BackOfficeNotification[] | 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<BackOfficeNotification> Notifications { get; }
Property Value
Type | Description |
---|---|
List<BackOfficeNotification> |