Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaSavedWebhookEvent

    Inheritance
    System.Object
    WebhookEventBase<MediaSavedNotification>
    WebhookEventContentBase<MediaSavedNotification, IMedia>
    Namespace: Umbraco.Cms.Core.Webhooks.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class MediaSavedWebhookEvent : WebhookEventContentBase<MediaSavedNotification, IMedia>, IWebhookEvent, INotificationAsyncHandler<MediaSavedNotification>, INotificationHandler

    Constructors

    View Source

    MediaSavedWebhookEvent(IWebhookFiringService, IWebhookService, IOptionsMonitor<WebhookSettings>, IServerRoleAccessor, IPublishedSnapshotAccessor, IApiMediaBuilder)

    Declaration
    public MediaSavedWebhookEvent(IWebhookFiringService webhookFiringService, IWebhookService webhookService, IOptionsMonitor<WebhookSettings> webhookSettings, IServerRoleAccessor serverRoleAccessor, IPublishedSnapshotAccessor publishedSnapshotAccessor, IApiMediaBuilder apiMediaBuilder)
    Parameters
    Type Name Description
    IWebhookFiringService webhookFiringService
    IWebhookService webhookService
    IOptionsMonitor<WebhookSettings> webhookSettings
    IServerRoleAccessor serverRoleAccessor
    IPublishedSnapshotAccessor publishedSnapshotAccessor
    IApiMediaBuilder apiMediaBuilder

    Properties

    View Source

    Alias

    Declaration
    public override string Alias { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    ConvertEntityToRequestPayload(IMedia)

    Declaration
    protected override object ConvertEntityToRequestPayload(IMedia entity)
    Parameters
    Type Name Description
    IMedia entity
    Returns
    Type Description
    System.Object
    View Source

    GetEntitiesFromNotification(MediaSavedNotification)

    Declaration
    protected override IEnumerable<IMedia> GetEntitiesFromNotification(MediaSavedNotification notification)
    Parameters
    Type Name Description
    MediaSavedNotification notification
    Returns
    Type Description
    IEnumerable<IMedia>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MediaSavedWebhookEvent(IWebhookFiringService, IWebhookService, IOptionsMonitor<WebhookSettings>, IServerRoleAccessor, IPublishedSnapshotAccessor, IApiMediaBuilder)
    • Properties
      • Alias
    • Methods
      • ConvertEntityToRequestPayload(IMedia)
      • GetEntitiesFromNotification(MediaSavedNotification)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX