3 namespace SiliconStudio.ActionStack
21 public class DiscardedActionItemsEventArgs<T> : ActionItemsEventArgs<T> where T : IActionItem
38 public class ActionItemsEventArgs<T> :
EventArgs where T : IActionItem
40 public T[] ActionItems {
get;
private set; }
43 : this(new[] { actionItems })
49 if (actionItems == null)
50 throw new ArgumentNullException(
"actionItems");
52 ActionItems = actionItems;
62 if (actionItem == null)
63 throw new ArgumentNullException(
"actionItem");
ActionItemDiscardType
This enum describes how an action item is being discarded when the ActionStack.ActionItemsDiscarded e...
Item discarded because the stack is full.
Item discarded by the application either because they are not relevant or not actually cancellable...
ActionItemsEventArgs(T actionItems)
Base class for action items.
Item discarded because it has been undone and new action have been done since.
DiscardedActionItemsEventArgs(ActionItemDiscardType type, T[] actionItems)
ActionItemsEventArgs(T[] actionItems)
Base interface for action items.
DiscardedActionItemsEventArgs(ActionItemDiscardType type, T actionItems)
ActionItemEventArgs(T actionItem)