Class WebhookEventCollection
A collection of IWebhookEvent instances registered in the system.
Namespace: Umbraco.Cms.Core.Webhooks
Assembly: Umbraco.Core.dll
Syntax
public class WebhookEventCollection : BuilderCollectionBase<IWebhookEvent>, IBuilderCollection<IWebhookEvent>
Constructors
View SourceWebhookEventCollection(Func<IEnumerable<IWebhookEvent>>)
Initializes a new instance of the WebhookEventCollection class.
Declaration
public WebhookEventCollection(Func<IEnumerable<IWebhookEvent>> items)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<IEnumerable<IWebhookEvent>> | items | A factory function that returns the collection of webhook events. |