Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeDeletedNotification

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

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

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

    Constructors

    View Source

    ContentTypeDeletedNotification(IEnumerable<IContentType>, EventMessages)

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

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

    The collection of content types that were deleted.

    EventMessages messages

    The event messages collection.

    View Source

    ContentTypeDeletedNotification(IContentType, EventMessages)

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

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

    The content type that was deleted.

    EventMessages messages

    The event messages collection.

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