* Gather all notifications in Umbraco.Cms.Core.Notifications * Rename notifications to match convention * Move and rename missed notifications * Move the three remaining public notification into Umbraco.Cms.Core.Notifications
22 lines
578 B
C#
22 lines
578 B
C#
// Copyright (c) Umbraco.
|
|
// See LICENSE for more details.
|
|
|
|
using System.Collections.Generic;
|
|
using Umbraco.Cms.Core.Events;
|
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
|
{
|
|
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;
|
|
}
|
|
}
|