Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeMovingNotification

    A notification that is used to trigger the ContentTypeService when the Move method is called in the API.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<MoveEventInfo<IContentType>>>
    CancelableObjectNotification<IEnumerable<MoveEventInfo<IContentType>>>
    MovingNotification<IContentType>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentTypeMovingNotification : MovingNotification<IContentType>, IStatefulNotification, ICancelableNotification, INotification
    Remarks

    This notification is cancelable, allowing handlers to prevent the move operation by setting Cancel to true.

    Constructors

    View Source

    ContentTypeMovingNotification(IEnumerable<MoveEventInfo<IContentType>>, EventMessages)

    Initializes a new instance of the ContentTypeMovingNotification class with multiple move operations.

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

    The move event information for the content types being moved.

    EventMessages messages

    The event messages collection.

    View Source

    ContentTypeMovingNotification(MoveEventInfo<IContentType>, EventMessages)

    Initializes a new instance of the ContentTypeMovingNotification class with a single move operation.

    Declaration
    public ContentTypeMovingNotification(MoveEventInfo<IContentType> target, EventMessages messages)
    Parameters
    Type Name Description
    MoveEventInfo<IContentType> target

    The move event information for the content type being moved.

    EventMessages messages

    The event messages collection.

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