Search Results for

    Show / Hide Table of Contents
    View Source

    Class WarnDocumentTypeElementSwitchNotificationHandler

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Handlers
    Assembly: Umbraco.Core.dll
    Syntax
    public class WarnDocumentTypeElementSwitchNotificationHandler : INotificationAsyncHandler<ContentTypeSavingNotification>, INotificationAsyncHandler<ContentTypeSavedNotification>, INotificationHandler

    Constructors

    View Source

    WarnDocumentTypeElementSwitchNotificationHandler(IEventMessagesFactory, IContentTypeService, IElementSwitchValidator)

    Declaration
    public WarnDocumentTypeElementSwitchNotificationHandler(IEventMessagesFactory eventMessagesFactory, IContentTypeService contentTypeService, IElementSwitchValidator elementSwitchValidator)
    Parameters
    Type Name Description
    IEventMessagesFactory eventMessagesFactory
    IContentTypeService contentTypeService
    IElementSwitchValidator elementSwitchValidator

    Methods

    View Source

    HandleAsync(ContentTypeSavedNotification, CancellationToken)

    Declaration
    public async Task HandleAsync(ContentTypeSavedNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ContentTypeSavedNotification notification
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    View Source

    HandleAsync(ContentTypeSavingNotification, CancellationToken)

    Declaration
    public async Task HandleAsync(ContentTypeSavingNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ContentTypeSavingNotification notification
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • WarnDocumentTypeElementSwitchNotificationHandler(IEventMessagesFactory, IContentTypeService, IElementSwitchValidator)
    • Methods
      • HandleAsync(ContentTypeSavedNotification, CancellationToken)
      • HandleAsync(ContentTypeSavingNotification, CancellationToken)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX