Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaMovedNotification

    A notification that is used to trigger the IMediaService when the Move method is called in the API. The event is fired after the media object has been moved. NOTE: If the target parent is the Recycle bin, this notification is never published. Try the MediaMovedToRecycleBinNotification instead.

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IEnumerable<MoveEventInfo<IMedia>>>
    MovedNotification<IMedia>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class MediaMovedNotification : MovedNotification<IMedia>, IStatefulNotification, INotification

    Constructors

    View Source

    MediaMovedNotification(IEnumerable<MoveEventInfo<IMedia>>, EventMessages)

    Declaration
    public MediaMovedNotification(IEnumerable<MoveEventInfo<IMedia>> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<MoveEventInfo<IMedia>> target
    EventMessages messages
    View Source

    MediaMovedNotification(MoveEventInfo<IMedia>, EventMessages)

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