4 using System.Collections.Generic;
7 using SiliconStudio.Core;
9 namespace SiliconStudio.ActionStack
86 #pragma warning disable 67
98 public event EventHandler<ActionItemsEventArgs<IActionItem>>
Undone;
101 public event EventHandler<ActionItemsEventArgs<IActionItem>>
Redone;
103 #pragma warning restore 67
123 return SavePoint.Empty;
void AddRange(IEnumerable< IActionItem > items)
Represents a save point marker in the undo/redo action items stack.
EventHandler< ActionItemsEventArgs< IActionItem > > Undone
void DiscardTransaction()
An implementation of the ITransactionalActionStack that does not store any action item and does not t...
void Add(IActionItem item)
EventHandler< ActionItemsEventArgs< IActionItem > > ActionItemsAdded
EventHandler< ActionItemsEventArgs< IActionItem > > Redone
EventHandler< DiscardedActionItemsEventArgs< IActionItem > > ActionItemsDiscarded
IDisposable BeginEndTransaction(Func< string > getName)
Use the default mode depending on the type of the field/property.
This class is an implementation of the IDisposable interface that does nothing when disposed...
void EndTransaction(string displayName)
Base interface for action items.
EventHandler ActionItemsCleared
void EndTransaction(string displayName, Func< IReadOnlyCollection< IActionItem >, IActionItem > aggregateActionItems)
IDisposable BeginCancelTransaction()
IDisposable BeginEndTransaction(string name)
SavePoint CreateSavePoint(bool markActionsAsSaved)
IDisposable BeginDiscardTransaction()
Base interface for a transactional action stack.