Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentRolledBackWebhookEvent

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

    Constructors

    View Source

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

    Declaration
    public ContentRolledBackWebhookEvent(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(ContentRolledBackNotification)

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