* 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
21 lines
474 B
C#
21 lines
474 B
C#
// Copyright (c) Umbraco.
|
|
// See LICENSE for more details.
|
|
|
|
using Umbraco.Cms.Core.Events;
|
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
|
{
|
|
public abstract class ObjectNotification<T> : StatefulNotification where T : class
|
|
{
|
|
protected ObjectNotification(T target, EventMessages messages)
|
|
{
|
|
Messages = messages;
|
|
Target = target;
|
|
}
|
|
|
|
public EventMessages Messages { get; }
|
|
|
|
protected T Target { get; }
|
|
}
|
|
}
|