Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebhookSavedNotification

    Notification published after webhooks have been saved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IWebhook>>
    EnumerableObjectNotification<IWebhook>
    SavedNotification<IWebhook>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class WebhookSavedNotification : SavedNotification<IWebhook>, IStatefulNotification, INotification
    Remarks

    This notification is published after webhooks have been successfully saved, allowing handlers to react for auditing or cache invalidation purposes.

    Constructors

    View Source

    WebhookSavedNotification(IEnumerable<IWebhook>, EventMessages)

    Initializes a new instance of the WebhookSavedNotification class with multiple webhooks.

    Declaration
    public WebhookSavedNotification(IEnumerable<IWebhook> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IWebhook> target

    The webhooks that were saved.

    EventMessages messages

    The event messages collection.

    View Source

    WebhookSavedNotification(IWebhook, EventMessages)

    Initializes a new instance of the WebhookSavedNotification class with a single webhook.

    Declaration
    public WebhookSavedNotification(IWebhook target, EventMessages messages)
    Parameters
    Type Name Description
    IWebhook target

    The webhook that was saved.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX