Files
Umbraco-CMS/src/Umbraco.Core/Notifications/MediaMovedNotification.cs
Alina-Magdalena Tincas 85747593cc Update v14 api docs with info from umbraco docs (#15977)
* update api docs

* small update
2024-04-11 11:19:23 +02:00

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)
{
}
}