Class SortedNotification<T>
Abstract base class for notifications published after entities have been sorted.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public abstract class SortedNotification<T> : EnumerableObjectNotification<T>, IStatefulNotification, INotification
Type Parameters
| Name | Description |
|---|---|
| T | The type of entities that were sorted. |
Remarks
This notification is published after the new sort order has been persisted. It is not cancelable since the sort operation has already completed.
Constructors
View SourceSortedNotification(IEnumerable<T>, EventMessages)
Initializes a new instance of the SortedNotification<T> class.
Declaration
protected SortedNotification(IEnumerable<T> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | target | The collection of entities that were sorted. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceSortedEntities
Gets the collection of entities that were sorted.
Declaration
public IEnumerable<T> SortedEntities { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<T> |