Search Results for

    Show / Hide Table of Contents
    View Source

    Class RelateOnCopyNotificationHandler

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class RelateOnCopyNotificationHandler : INotificationHandler<ContentCopiedNotification>, INotificationAsyncHandler<ContentCopiedNotification>, INotificationHandler

    Constructors

    View Source

    RelateOnCopyNotificationHandler(IRelationService, IAuditService)

    Declaration
    [Obsolete("Use the non-obsolete constructor instead. Scheduled for removal in V19.")]
    public RelateOnCopyNotificationHandler(IRelationService relationService, IAuditService auditService)
    Parameters
    Type Name Description
    IRelationService relationService
    IAuditService auditService
    View Source

    RelateOnCopyNotificationHandler(IRelationService, IAuditService, IUserIdKeyResolver)

    Declaration
    public RelateOnCopyNotificationHandler(IRelationService relationService, IAuditService auditService, IUserIdKeyResolver userIdKeyResolver)
    Parameters
    Type Name Description
    IRelationService relationService
    IAuditService auditService
    IUserIdKeyResolver userIdKeyResolver

    Methods

    View Source

    Handle(ContentCopiedNotification)

    Handles a notification.

    Declaration
    [Obsolete("Use the INotificationAsyncHandler.HandleAsync implementation instead. Scheduled for removal in V19.")]
    public void Handle(ContentCopiedNotification notification)
    Parameters
    Type Name Description
    ContentCopiedNotification notification

    The notification.

    View Source

    HandleAsync(ContentCopiedNotification, CancellationToken)

    Handles a notification.

    Declaration
    public Task HandleAsync(ContentCopiedNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ContentCopiedNotification notification

    The notification.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

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