Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeSavedNotification

    Notification that is published after a content type has been saved.

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

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

    Constructors

    View Source

    ContentTypeSavedNotification(IEnumerable<IContentType>, EventMessages)

    Initializes a new instance of the ContentTypeSavedNotification class with multiple content types.

    Declaration
    public ContentTypeSavedNotification(IEnumerable<IContentType> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IContentType> target

    The collection of content types that were saved.

    EventMessages messages

    The event messages collection.

    View Source

    ContentTypeSavedNotification(IContentType, EventMessages)

    Initializes a new instance of the ContentTypeSavedNotification class with a single content type.

    Declaration
    public ContentTypeSavedNotification(IContentType target, EventMessages messages)
    Parameters
    Type Name Description
    IContentType target

    The content type that was saved.

    EventMessages messages

    The event messages collection.

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