Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentUnpublishedWebhookEvent

    Inheritance
    System.Object
    WebhookEventBase<ContentUnpublishedNotification>
    WebhookEventContentBase<ContentUnpublishedNotification, IContent>
    Namespace: Umbraco.Cms.Core.Webhooks.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentUnpublishedWebhookEvent : WebhookEventContentBase<ContentUnpublishedNotification, IContent>, IWebhookEvent, INotificationAsyncHandler<ContentUnpublishedNotification>, INotificationHandler

    Constructors

    View Source

    ContentUnpublishedWebhookEvent(IWebhookFiringService, IWebhookService, IOptionsMonitor<WebhookSettings>, IServerRoleAccessor)

    Declaration
    public ContentUnpublishedWebhookEvent(IWebhookFiringService webhookFiringService, IWebhookService webhookService, IOptionsMonitor<WebhookSettings> webhookSettings, IServerRoleAccessor serverRoleAccessor)
    Parameters
    Type Name Description
    IWebhookFiringService webhookFiringService
    IWebhookService webhookService
    IOptionsMonitor<WebhookSettings> webhookSettings
    IServerRoleAccessor serverRoleAccessor

    Properties

    View Source

    Alias

    Declaration
    public override string Alias { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    ConvertEntityToRequestPayload(IContent)

    Declaration
    protected override object ConvertEntityToRequestPayload(IContent entity)
    Parameters
    Type Name Description
    IContent entity
    Returns
    Type Description
    System.Object
    View Source

    GetEntitiesFromNotification(ContentUnpublishedNotification)

    Declaration
    protected override IEnumerable<IContent> GetEntitiesFromNotification(ContentUnpublishedNotification notification)
    Parameters
    Type Name Description
    ContentUnpublishedNotification notification
    Returns
    Type Description
    IEnumerable<IContent>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentUnpublishedWebhookEvent(IWebhookFiringService, IWebhookService, IOptionsMonitor<WebhookSettings>, IServerRoleAccessor)
    • Properties
      • Alias
    • Methods
      • ConvertEntityToRequestPayload(IContent)
      • GetEntitiesFromNotification(ContentUnpublishedNotification)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX