Search Results for

    Show / Hide Table of Contents
    View Source

    Class EnumerableObjectNotification<T>

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

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

    The type of items in the collection.

    Remarks

    This class extends ObjectNotification<T> with System.Collections.Generic.IEnumerable<T> as the target type, providing convenient constructors for both single items and collections.

    Constructors

    View Source

    EnumerableObjectNotification(IEnumerable<T>, EventMessages)

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

    Declaration
    protected EnumerableObjectNotification(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

    EnumerableObjectNotification(T, EventMessages)

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

    Declaration
    protected EnumerableObjectNotification(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