Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentSavedNotification

    Notification that is published after content has been saved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IContent>>
    EnumerableObjectNotification<IContent>
    SavedNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentSavedNotification : SavedNotification<IContent>, IStatefulNotification, INotification
    Remarks

    This notification is published by the IContentService after content has been persisted. It is not cancelable since the save operation has already completed.

    Constructors

    View Source

    ContentSavedNotification(IEnumerable<IContent>, EventMessages)

    Initializes a new instance of the ContentSavedNotification class with multiple content items.

    Declaration
    public ContentSavedNotification(IEnumerable<IContent> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IContent> target

    The collection of content items that were saved.

    EventMessages messages

    The event messages collection.

    View Source

    ContentSavedNotification(IContent, EventMessages)

    Initializes a new instance of the ContentSavedNotification class with a single content item.

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

    The content item that was saved.

    EventMessages messages

    The event messages collection.

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