2021-03-02 14:30:57 +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-02 14:30:57 +01:00
|
|
|
|
2021-05-11 14:33:49 +02:00
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
2021-03-02 14:30:57 +01:00
|
|
|
{
|
2021-03-16 06:55:55 +01:00
|
|
|
public abstract class SavingNotification<T> : CancelableEnumerableObjectNotification<T>
|
2021-03-02 14:30:57 +01:00
|
|
|
{
|
2021-03-16 06:55:55 +01:00
|
|
|
protected SavingNotification(T target, EventMessages messages) : base(target, messages)
|
2021-03-02 14:30:57 +01:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-16 06:55:55 +01:00
|
|
|
protected SavingNotification(IEnumerable<T> target, EventMessages messages) : base(target, messages)
|
2021-03-02 14:30:57 +01:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<T> SavedEntities => Target;
|
|
|
|
|
}
|
|
|
|
|
}
|