Search Results for

    Show / Hide Table of Contents
    View Source

    Class CancelableEnumerableObjectNotification<T>

    Abstract base class for cancelable notifications that carry a collection of target objects.

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

    The type of items in the collection.

    Remarks

    This class combines the functionality of CancelableObjectNotification<T> with System.Collections.Generic.IEnumerable<T> as the target type, allowing handlers to both access the collection of items and cancel the operation if needed.

    Constructors

    View Source

    CancelableEnumerableObjectNotification(IEnumerable<T>, EventMessages)

    Initializes a new instance of the CancelableEnumerableObjectNotification<T> class with multiple target items.

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

    The collection of target items.

    EventMessages messages

    The event messages collection.

    View Source

    CancelableEnumerableObjectNotification(T, EventMessages)

    Initializes a new instance of the CancelableEnumerableObjectNotification<T> class with a single target item.

    Declaration
    protected CancelableEnumerableObjectNotification(T target, EventMessages messages)
    Parameters
    Type Name Description
    T target

    The single target item.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX