Table of Contents

Class ConcurrentCommandExecutor

Namespace
NanoByte.Common.Undo
Assembly
NanoByte.Common.dll

Decorator for ICommandExecutor that adds locking for thread-safety.

public class ConcurrentCommandExecutor : ICommandExecutor
Inheritance
ConcurrentCommandExecutor
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 IUndoCommand

The command to be executed.