Files
Umbraco-CMS/src/Umbraco.Core/Events/RollbackEventArgs.cs
Shannon Deminick d0769cef0f Removed SavedCollection/SavingCollection events and just changed the SaveEventArgs and DeleteEventArgs to have enumerables.
Changed the base CancellableObjectEventArgs to have a protected property so inheritors can just expose the 'T' object as their own
better name.
2012-12-21 07:17:27 +05:00

21 lines
449 B
C#

namespace Umbraco.Core.Events
{
public class RollbackEventArgs<TEntity> : CancellableObjectEventArgs<TEntity>
{
public RollbackEventArgs(TEntity eventObject, bool canCancel) : base(eventObject, canCancel)
{
}
public RollbackEventArgs(TEntity eventObject) : base(eventObject)
{
}
/// <summary>
/// The entity being rolledback
/// </summary>
public TEntity Entity
{
get { return EventObject; }
}
}
}