24 lines
868 B
C#
24 lines
868 B
C#
// Copyright (c) Umbraco.
|
|
// See LICENSE for more details.
|
|
|
|
using Umbraco.Cms.Core.Events;
|
|
using Umbraco.Cms.Core.Models;
|
|
|
|
namespace Umbraco.Cms.Core.Notifications;
|
|
/// <summary>
|
|
/// 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 <see cref="MediaMovedToRecycleBinNotification"/> instead.
|
|
/// </summary>
|
|
public sealed class MediaMovedNotification : MovedNotification<IMedia>
|
|
{
|
|
public MediaMovedNotification(MoveEventInfo<IMedia> target, EventMessages messages)
|
|
: base(target, messages)
|
|
{
|
|
}
|
|
|
|
public MediaMovedNotification(IEnumerable<MoveEventInfo<IMedia>> target, EventMessages messages)
|
|
: base(target, messages)
|
|
{
|
|
}
|
|
}
|