Search Results for

    Show / Hide Table of Contents
    View Source

    Class ElementRefreshNotification

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

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IElement>
    EntityRefreshNotification<IElement>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    [Obsolete("This is only used for the internal cache and will change, use saved notifications instead")]
    public class ElementRefreshNotification : EntityRefreshNotification<IElement>, IStatefulNotification, INotification
    Remarks

    This notification is used internally for cache synchronization purposes. For normal element operations, use ElementSavedNotification or ElementPublishedNotification instead.

    Constructors

    View Source

    ElementRefreshNotification(IElement, EventMessages)

    Initializes a new instance of the ElementRefreshNotification class.

    Declaration
    public ElementRefreshNotification(IElement target, EventMessages messages)
    Parameters
    Type Name Description
    IElement target

    The element item to refresh.

    EventMessages messages

    The event messages collection.

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