Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaSavingNotification

    A notification that is used to trigger the IMediaService when the Save method is called in the API.

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IEnumerable<IMedia>>
    CancelableObjectNotification<IEnumerable<IMedia>>
    CancelableEnumerableObjectNotification<IMedia>
    SavingNotification<IMedia>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class MediaSavingNotification : SavingNotification<IMedia>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    MediaSavingNotification(IEnumerable<IMedia>, EventMessages)

    Initializes a new instance of the MediaSavingNotification.

    Declaration
    public MediaSavingNotification(IEnumerable<IMedia> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IMedia> target

    Gets the collection of IMedia objects being saved.

    EventMessages messages

    Initializes a new instance of the EventMessages.

    View Source

    MediaSavingNotification(IMedia, EventMessages)

    Declaration
    public MediaSavingNotification(IMedia target, EventMessages messages)
    Parameters
    Type Name Description
    IMedia target
    EventMessages messages
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MediaSavingNotification(IEnumerable<IMedia>, EventMessages)
      • MediaSavingNotification(IMedia, EventMessages)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX