Class SimpleCommandExecutor
Executes IUndoCommands without any additional handling.
Implements
Namespace: NanoByte.Common.Undo
Assembly: NanoByte.Common.dll
Syntax
public class SimpleCommandExecutor : Object, ICommandExecutor
Constructors
SimpleCommandExecutor()
Declaration
public SimpleCommandExecutor()
Properties
Path
The path of the file the data structure being modified was loaded from. null
if none.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Execute(IUndoCommand)
Executes an IUndoCommand and stores it for later undo-operations.
Declaration
public void Execute(IUndoCommand command)
Parameters
Type | Name | Description |
---|---|---|
IUndoCommand | command | The command to be executed. |