Search Results for

    Show / Hide Table of Contents
    View Source

    Class AddUnroutableContentWarningsWhenPublishingNotificationHandler

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

    Constructors

    View Source

    AddUnroutableContentWarningsWhenPublishingNotificationHandler(IPublishedRouter, IUmbracoContextAccessor, ILanguageService, ILocalizedTextService, IContentService, IVariationContextAccessor, ILoggerFactory, UriUtility, IPublishedUrlProvider, IDocumentNavigationQueryService, IPublishedContentStatusFilteringService, IEventMessagesFactory, IOptions<ContentSettings>)

    Declaration
    public AddUnroutableContentWarningsWhenPublishingNotificationHandler(IPublishedRouter publishedRouter, IUmbracoContextAccessor umbracoContextAccessor, ILanguageService languageService, ILocalizedTextService localizedTextService, IContentService contentService, IVariationContextAccessor variationContextAccessor, ILoggerFactory loggerFactory, UriUtility uriUtility, IPublishedUrlProvider publishedUrlProvider, IDocumentNavigationQueryService navigationQueryService, IPublishedContentStatusFilteringService publishedContentStatusFilteringService, IEventMessagesFactory eventMessagesFactory, IOptions<ContentSettings> contentSettings)
    Parameters
    Type Name Description
    IPublishedRouter publishedRouter
    IUmbracoContextAccessor umbracoContextAccessor
    ILanguageService languageService
    ILocalizedTextService localizedTextService
    IContentService contentService
    IVariationContextAccessor variationContextAccessor
    ILoggerFactory loggerFactory
    UriUtility uriUtility
    IPublishedUrlProvider publishedUrlProvider
    IDocumentNavigationQueryService navigationQueryService
    IPublishedContentStatusFilteringService publishedContentStatusFilteringService
    IEventMessagesFactory eventMessagesFactory
    IOptions<ContentSettings> contentSettings

    Methods

    View Source

    HandleAsync(ContentPublishedNotification, CancellationToken)

    Handles a notification.

    Declaration
    public Task HandleAsync(ContentPublishedNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ContentPublishedNotification 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