Class AddEdgeCommand
Command to add an edge to the graph.
public class AddEdgeCommand : IGraphCommand
- Inheritance
-
AddEdgeCommand
- Implements
- Inherited Members
Constructors
AddEdgeCommand(Graph, Edge)
public AddEdgeCommand(Graph graph, Edge edge)
Parameters
Properties
Description
Gets a human-readable description of the command.
public string Description { get; }
Property Value
Methods
Execute()
Executes the command.
public void Execute()
Undo()
Reverses the command (undo).
public void Undo()