Search Results for

    Show / Hide Table of Contents
    View Source

    Class SortingNotification<T>

    Abstract base class for notifications published before entities are sorted.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<T>>
    CancelableObjectNotification<IEnumerable<T>>
    CancelableEnumerableObjectNotification<T>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class SortingNotification<T> : CancelableEnumerableObjectNotification<T>, IStatefulNotification, ICancelableNotification, INotification
    Type Parameters
    Name Description
    T

    The type of entities being sorted.

    Remarks

    This notification is cancelable, allowing handlers to prevent the sort operation. The notification is published before the new sort order is persisted.

    Constructors

    View Source

    SortingNotification(IEnumerable<T>, EventMessages)

    Initializes a new instance of the SortingNotification<T> class.

    Declaration
    protected SortingNotification(IEnumerable<T> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<T> target

    The collection of entities being sorted.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    SortedEntities

    Gets the collection of entities being sorted.

    Declaration
    public IEnumerable<T> SortedEntities { get; }
    Property Value
    Type Description
    IEnumerable<T>
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX