View Source
Inheritance
System.Object
Assembly: Umbraco.Core.dll
public class MediaDeletedWebhookEvent : WebhookEventContentBase<MediaDeletedNotification, IMedia>, IWebhookEvent, INotificationAsyncHandler<MediaDeletedNotification>, INotificationHandler
Constructors
View Source
Declaration
public MediaDeletedWebhookEvent(IWebhookFiringService webhookFiringService, IWebhookService webhookService, IOptionsMonitor<WebhookSettings> webhookSettings, IServerRoleAccessor serverRoleAccessor)
Parameters
Properties
View Source
Declaration
public override string Alias { get; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
Declaration
protected override object ConvertEntityToRequestPayload(IMedia entity)
Parameters
Type |
Name |
Description |
IMedia |
entity |
|
Returns
Type |
Description |
System.Object |
|
View Source
Declaration
protected override IEnumerable<IMedia> GetEntitiesFromNotification(MediaDeletedNotification notification)
Parameters
Returns
Type |
Description |
IEnumerable<IMedia> |
|