Class AddNodesToGroupCommand
Command to add nodes to an existing group.
public class AddNodesToGroupCommand : IGraphCommand
- Inheritance
-
AddNodesToGroupCommand
- Implements
- Inherited Members
Constructors
AddNodesToGroupCommand(Graph, string, IEnumerable<string>)
public AddNodesToGroupCommand(Graph graph, string groupId, IEnumerable<string> nodeIds)
Parameters
graphGraphgroupIdstringnodeIdsIEnumerable<string>
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()