Search Results for

    Show / Hide Table of Contents
    View Source

    Class EntityRefreshNotification<T>

    Notification published when an entity needs to be refreshed in the cache.

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

    The type of content base entity being refreshed.

    Remarks

    This notification is used internally for cache synchronization purposes.

    Constructors

    View Source

    EntityRefreshNotification(T, EventMessages)

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

    Declaration
    public EntityRefreshNotification(T target, EventMessages messages)
    Parameters
    Type Name Description
    T target

    The entity to refresh.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    Entity

    Gets the entity that needs to be refreshed.

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