Table of Contents

Class SimpleCommandExecutor

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

Executes IUndoCommands without any additional handling.

public class SimpleCommandExecutor : ICommandExecutor
Inheritance
SimpleCommandExecutor
Implements
Extension Methods

Properties

Path

The path of the file the data structure being modified was loaded from. null if none.

public string? Path { get; set; }

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.