* 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
15 lines
376 B
C#
15 lines
376 B
C#
using Umbraco.Cms.Core.Events;
|
|
using Umbraco.Cms.Core.Models;
|
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
|
{
|
|
public class EntityRefreshNotification<T> : ObjectNotification<T> where T : class, IContentBase
|
|
{
|
|
public EntityRefreshNotification(T target, EventMessages messages) : base(target, messages)
|
|
{
|
|
}
|
|
|
|
public T Entity => Target;
|
|
}
|
|
}
|