Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    SimpleNotificationModel()

    Declaration
    public SimpleNotificationModel()
    View Source

    SimpleNotificationModel(BackOfficeNotification[])

    Declaration
    public SimpleNotificationModel(params BackOfficeNotification[] notifications)
    Parameters
    Type Name Description
    BackOfficeNotification[] notifications

    Properties

    View Source

    Message

    A default message

    Declaration
    [DataMember(Name = "message")]
    public string Message { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    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>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SimpleNotificationModel()
      • SimpleNotificationModel(BackOfficeNotification[])
    • Properties
      • Message
      • Notifications
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX