Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebhookSavingNotification

    Notification published before webhooks are saved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IWebhook>>
    CancelableObjectNotification<IEnumerable<IWebhook>>
    CancelableEnumerableObjectNotification<IWebhook>
    SavingNotification<IWebhook>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class WebhookSavingNotification : SavingNotification<IWebhook>, IStatefulNotification, ICancelableNotification, INotification
    Remarks

    This notification is cancelable, allowing handlers to prevent the save operation by setting Cancel to true.

    Constructors

    View Source

    WebhookSavingNotification(IEnumerable<IWebhook>, EventMessages)

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

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

    The webhooks being saved.

    EventMessages messages

    The event messages collection.

    View Source

    WebhookSavingNotification(IWebhook, EventMessages)

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

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

    The webhook being saved.

    EventMessages messages

    The event messages collection.

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