Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentPublishedWebhookEvent

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

    Constructors

    View Source

    ContentPublishedWebhookEvent(IWebhookFiringService, IWebhookService, IOptionsMonitor<WebhookSettings>, IServerRoleAccessor, IPublishedSnapshotAccessor, IApiContentBuilder)

    Declaration
    public ContentPublishedWebhookEvent(IWebhookFiringService webhookFiringService, IWebhookService webhookService, IOptionsMonitor<WebhookSettings> webhookSettings, IServerRoleAccessor serverRoleAccessor, IPublishedSnapshotAccessor publishedSnapshotAccessor, IApiContentBuilder apiContentBuilder)
    Parameters
    Type Name Description
    IWebhookFiringService webhookFiringService
    IWebhookService webhookService
    IOptionsMonitor<WebhookSettings> webhookSettings
    IServerRoleAccessor serverRoleAccessor
    IPublishedSnapshotAccessor publishedSnapshotAccessor
    IApiContentBuilder apiContentBuilder

    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(ContentPublishedNotification)

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