Class WebhookEventAttribute
Inheritance
object
Attribute
Namespace: Umbraco.Cms.Core.Webhooks
Assembly: Umbraco.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class WebhookEventAttribute : Attribute
Constructors
View SourceWebhookEventAttribute(string)
Declaration
public WebhookEventAttribute(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
WebhookEventAttribute(string, string)
Declaration
public WebhookEventAttribute(string name, string eventType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | eventType |
Properties
View SourceEventType
Gets the type of event.
Declaration
public string? EventType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets the friendly name of the event.
Declaration
public string? Name { get; }
Property Value
| Type | Description |
|---|---|
| string |