Table of Contents

Class AlreadyExecutedCommand

Namespace
FlowGraph.Core.Commands
Assembly
FlowGraph.Core.dll

Wraps a command that has already been executed, skipping the initial Execute call. Used when an action was performed through UI and we just need to track it for undo/redo.

public class AlreadyExecutedCommand : IGraphCommand
Inheritance
AlreadyExecutedCommand
Implements
Inherited Members

Constructors

AlreadyExecutedCommand(IGraphCommand)

public AlreadyExecutedCommand(IGraphCommand innerCommand)

Parameters

innerCommand IGraphCommand

Properties

Description

Gets a human-readable description of the command.

public string Description { get; }

Property Value

string

Methods

Execute()

Executes the command.

public void Execute()

Undo()

Reverses the command (undo).

public void Undo()