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
public class ModelWithNotifications<T> : object, INotificationModel
Type Parameters
Name | Description |
---|---|
T |
Constructors
View SourceModelWithNotifications(T)
Declaration
public ModelWithNotifications(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value |
Properties
View SourceNotifications
The notifications
Declaration
public List<BackOfficeNotification> Notifications { get; }
Property Value
Type | Description |
---|---|
List<Back |
Value
The generic value
Declaration
public T Value { get; }
Property Value
Type | Description |
---|---|
T |