Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentRefreshNotification

    Notification published when content needs to be refreshed in the cache.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IContent>
    EntityRefreshNotification<IContent>
    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 ContentRefreshNotification : EntityRefreshNotification<IContent>, IStatefulNotification, INotification
    Remarks

    This notification is used internally for cache synchronization purposes. For normal content operations, use ContentSavedNotification or ContentPublishedNotification instead.

    Constructors

    View Source

    ContentRefreshNotification(IContent, EventMessages)

    Initializes a new instance of the ContentRefreshNotification class.

    Declaration
    public ContentRefreshNotification(IContent target, EventMessages messages)
    Parameters
    Type Name Description
    IContent target

    The content item to refresh.

    EventMessages messages

    The event messages collection.

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