Class ConcurrentCommandExecutor
Decorator for ICommandExecutor that adds locking for thread-safety.
public class ConcurrentCommandExecutor : ICommandExecutor
- Inheritance
-
objectConcurrentCommandExecutor
- Implements
- Extension Methods
Constructors
ConcurrentCommandExecutor(ICommandExecutor)
public ConcurrentCommandExecutor(ICommandExecutor inner)
Parameters
inner
ICommandExecutor
Properties
Path
The path of the file the data structure being modified was loaded from. null
if none.
public string? Path { get; }
Property Value
- string
Methods
Execute(IUndoCommand)
Executes an IUndoCommand and stores it for later undo-operations.
public void Execute(IUndoCommand command)
Parameters
command
IUndoCommandThe command to be executed.