Search Results for

    Show / Hide Table of Contents
    View Source

    Class ModelWithNotifications<T>

    A generic model supporting notifications, this is useful for returning any model type to include notifications from api controllers

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "model", Namespace = "")]
    public class ModelWithNotifications<T> : INotificationModel
    Type Parameters
    Name Description
    T

    Constructors

    View Source

    ModelWithNotifications(T)

    Declaration
    public ModelWithNotifications(T value)
    Parameters
    Type Name Description
    T value

    Properties

    View Source

    Notifications

    The notifications

    Declaration
    [DataMember(Name = "notifications")]
    public List<BackOfficeNotification> Notifications { get; }
    Property Value
    Type Description
    List<BackOfficeNotification>
    View Source

    Value

    The generic value

    Declaration
    [DataMember(Name = "value")]
    public T Value { get; }
    Property Value
    Type Description
    T
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ModelWithNotifications(T)
    • Properties
      • Notifications
      • Value
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX