Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebhookEventCollectionBuilderExtensions

    Extension methods for WebhookEventCollectionBuilder.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.DependencyInjection
    Assembly: Umbraco.Core.dll
    Syntax
    public static class WebhookEventCollectionBuilderExtensions

    Methods

    View Source

    AddCms(WebhookEventCollectionBuilder, Action<WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms>)

    Adds CMS webhook events specified in the cmsBuilder action.

    Declaration
    public static WebhookEventCollectionBuilder AddCms(this WebhookEventCollectionBuilder builder, Action<WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms> cmsBuilder)
    Parameters
    Type Name Description
    WebhookEventCollectionBuilder builder

    The builder.

    Action<WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms> cmsBuilder

    The CMS builder.

    Returns
    Type Description
    WebhookEventCollectionBuilder

    The builder.

    View Source

    AddCms(WebhookEventCollectionBuilder, Boolean)

    Adds all available CMS webhook events.

    Declaration
    public static WebhookEventCollectionBuilder AddCms(this WebhookEventCollectionBuilder builder, bool onlyDefault = false)
    Parameters
    Type Name Description
    WebhookEventCollectionBuilder builder

    The builder.

    System.Boolean onlyDefault

    If set to true only adds the default webhook events instead of all available.

    Returns
    Type Description
    WebhookEventCollectionBuilder

    The builder.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • AddCms(WebhookEventCollectionBuilder, Action<WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms>)
      • AddCms(WebhookEventCollectionBuilder, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX