Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.ActionStack.IAggregateActionItem Interface Reference

Base interface of aggregate of action items. More...

Inheritance diagram for SiliconStudio.ActionStack.IAggregateActionItem:
SiliconStudio.ActionStack.IActionItem SiliconStudio.ActionStack.AggregateActionItem SiliconStudio.Presentation.Quantum.CombinedValueChangedActionItem

Public Member Functions

bool ContainsAction (IActionItem actionItem)
 Gets whether the given action item is contained in this aggregate. More...
 
IEnumerable< IActionItemGetInnerActionItems ()
 Gets all action items contained in this aggregate that are not IAggregateActionItem themselves, recursively. More...
 
- Public Member Functions inherited from SiliconStudio.ActionStack.IActionItem
void Freeze ()
 Freezes this ActionItem. A frozen action item can't be undone anymore and should have freed the resources stored for undo actions More...
 
void Undo ()
 Undo the action. More...
 
void Redo ()
 Redo the action. More...
 

Properties

IEnumerable< IActionItemActionItems [get]
 Gets the aggregated action items. More...
 
- Properties inherited from SiliconStudio.ActionStack.IActionItem
string Name [get, set]
 Gets or sets the name of the current action. More...
 
Guid Identifier [get]
 Gets an unique identifier of the action, per instance. More...
 
bool IsSaved [get, set]
 Gets or sets whether this action as already been saved when evaluating the dirtiness of an object. More...
 
bool IsDone [get]
 Gets whether this action is currently done. Modified when invoking Undo or Redo. More...
 
bool IsFrozen [get]
 Gets whether this action has been frozen with the Freeze method. More...
 

Detailed Description

Base interface of aggregate of action items.

Definition at line 10 of file IAggregateActionItem.cs.

Member Function Documentation

bool SiliconStudio.ActionStack.IAggregateActionItem.ContainsAction ( IActionItem  actionItem)

Gets whether the given action item is contained in this aggregate.

Parameters
actionItemThe action item to look for.
Returns
true if this aggregate contains the given action item, false otherwise.

Implemented in SiliconStudio.ActionStack.AggregateActionItem.

IEnumerable<IActionItem> SiliconStudio.ActionStack.IAggregateActionItem.GetInnerActionItems ( )

Gets all action items contained in this aggregate that are not IAggregateActionItem themselves, recursively.

Returns
An enumeration of all action items contained in this aggregate that are not IAggregateActionItem themselves, recursively.

Implemented in SiliconStudio.ActionStack.AggregateActionItem.

Property Documentation

IEnumerable<IActionItem> SiliconStudio.ActionStack.IAggregateActionItem.ActionItems
get

Gets the aggregated action items.

Definition at line 15 of file IAggregateActionItem.cs.


The documentation for this interface was generated from the following file: