Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentCopyingNotification

    A notification that is used to trigger the IContentService when the Copy method is called in the API. The notification is published after a copy object has been created and had its parentId updated and its state has been set to unpublished.

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IContent>
    CancelableObjectNotification<IContent>
    CopyingNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentCopyingNotification : CopyingNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    ContentCopyingNotification(IContent, IContent, Int32, Nullable<Guid>, EventMessages)

    Declaration
    public ContentCopyingNotification(IContent original, IContent copy, int parentId, Guid? parentKey, EventMessages messages)
    Parameters
    Type Name Description
    IContent original
    IContent copy
    System.Int32 parentId
    System.Nullable<Guid> parentKey
    EventMessages messages
    View Source

    ContentCopyingNotification(IContent, IContent, Int32, EventMessages)

    Initializes a new instance of the ContentCopyingNotification.

    Declaration
    public ContentCopyingNotification(IContent original, IContent copy, int parentId, EventMessages messages)
    Parameters
    Type Name Description
    IContent original

    Gets the original IContent object.

    IContent copy

    Gets the IContent object being copied.

    System.Int32 parentId

    Gets the ID of the parent of the IContent being copied.

    EventMessages messages

    Initializes a new instance of the EventMessages.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentCopyingNotification(IContent, IContent, Int32, Nullable<Guid>, EventMessages)
      • ContentCopyingNotification(IContent, IContent, Int32, EventMessages)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX