2021-03-30 10:01:42 +02:00
|
|
|
// Copyright (c) Umbraco.
|
|
|
|
|
// See LICENSE for more details.
|
|
|
|
|
|
2021-05-11 14:33:49 +02:00
|
|
|
using Umbraco.Cms.Core.Events;
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
2021-03-30 10:01:42 +02:00
|
|
|
{
|
|
|
|
|
public abstract class CreatingNotification<T> : CancelableObjectNotification<T> where T : class
|
|
|
|
|
{
|
|
|
|
|
protected CreatingNotification(T target, EventMessages messages) : base(target, messages)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public T CreatedEntity => Target;
|
|
|
|
|
}
|
|
|
|
|
}
|