2021-03-29 11:08:14 +01:00
|
|
|
// Copyright (c) Umbraco.
|
|
|
|
|
// See LICENSE for more details.
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2021-05-11 14:33:49 +02:00
|
|
|
using Umbraco.Cms.Core.Events;
|
2021-03-29 11:08:14 +01:00
|
|
|
|
2021-05-11 14:33:49 +02:00
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
2021-03-29 11:08:14 +01:00
|
|
|
{
|
|
|
|
|
public abstract class RenamingNotification<T> : CancelableEnumerableObjectNotification<T>
|
|
|
|
|
{
|
|
|
|
|
protected RenamingNotification(T target, EventMessages messages) : base(target, messages)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected RenamingNotification(IEnumerable<T> target, EventMessages messages) : base(target, messages)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<T> Entities => Target;
|
|
|
|
|
}
|
|
|
|
|
}
|