Class WebhookEventCollectionBuilder
Builder for the WebhookEventCollection that handles registration of webhook events and their corresponding notification handlers with the dependency injection container.
Inheritance
object
Namespace: Umbraco.Cms.Core.Webhooks
Assembly: Umbraco.Core.dll
Syntax
public class WebhookEventCollectionBuilder : SetCollectionBuilderBase<WebhookEventCollectionBuilder, WebhookEventCollection, IWebhookEvent>, ICollectionBuilder<WebhookEventCollection, IWebhookEvent>, ICollectionBuilder
Constructors
View SourceWebhookEventCollectionBuilder()
Declaration
public WebhookEventCollectionBuilder()
Properties
View SourceThis
Gets the current builder instance.
Declaration
protected override WebhookEventCollectionBuilder This { get; }
Property Value
| Type | Description |
|---|---|
| WebhookEventCollectionBuilder |
Methods
View SourceRegisterWith(IServiceCollection)
Registers the builder so it can build the collection, by registering the collection and the types.
Declaration
public override void RegisterWith(IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services |