Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentCopiedNotification

    A notification that is used to trigger the IContentService when the Copy method is called in the API. The notification is published after the content object has been copied.

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

    Constructors

    View Source

    ContentCopiedNotification(IContent, IContent, Int32, Boolean, EventMessages)

    Initializes a new instance of the ContentCopiedNotification.

    Declaration
    public ContentCopiedNotification(IContent original, IContent copy, int parentId, bool relateToOriginal, 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.

    System.Boolean relateToOriginal

    Boolean indicating whether the copy was related to the orginal.

    EventMessages messages

    Initializes a new instance of the EventMessages.

    View Source

    ContentCopiedNotification(IContent, IContent, Int32, Nullable<Guid>, Boolean, EventMessages)

    Declaration
    public ContentCopiedNotification(IContent original, IContent copy, int parentId, Guid? parentKey, bool relateToOriginal, EventMessages messages)
    Parameters
    Type Name Description
    IContent original
    IContent copy
    System.Int32 parentId
    System.Nullable<Guid> parentKey
    System.Boolean relateToOriginal
    EventMessages messages
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentCopiedNotification(IContent, IContent, Int32, Boolean, EventMessages)
      • ContentCopiedNotification(IContent, IContent, Int32, Nullable<Guid>, Boolean, EventMessages)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX