public CreateProblemContainer(IRootCauseDb db, string initialProblemText, bool executeImmediately) { _Container = new ProblemContainer(initialProblemText); _Db = db; if (executeImmediately) { Execute(); } }
public AddLinkCommand(IRootCauseDb db, Node parentNode, Node childNode, bool executeImmediately) { _Db = db; _ParentNode = parentNode; _ChildNode = childNode; if (executeImmediately) { Execute(); } }
public AddNodeCommand(IRootCauseDb db, Node parentNode, string text, bool executeImmediately) { _ParentNode = parentNode; _NewNode = new Cause(text); _Db = db; if (executeImmediately) { Execute(); } }
public RemoveNodeChainCommand(IRootCauseDb db, Node removeNode, bool executeImmediately) { _RemoveNode = removeNode; _Parents = new HashSet <Node>(); _Db = db; if (executeImmediately) { Execute(); } }
public ChangeNodeTextCommand(IRootCauseDb db, Node node, string newText, bool executeImmediately) { _Node = node; _NewText = newText; _Db = db; if (executeImmediately) { Execute(); } }
public MoveNodeCommand(IRootCauseDb db, Node movingNode, Node targetNode, bool executeImmediately) { _MovingNode = movingNode; _TargetNode = targetNode; _Parents = new HashSet <Node>(); _Db = db; if (executeImmediately) { Execute(); } }
public RemoveNodeCommand(IRootCauseDb db, Node removeNode, bool executeImmediately) { _Children = new HashSet <Node>(); _Parents = new HashSet <Node>(); _ParentChildLinks = new Dictionary <Node, Node>(); _RemoveNode = removeNode; _Db = db; if (executeImmediately) { Execute(); } }
public AddLinkCommand(IRootCauseDb db, Node parentNode, Node childNode) : this(db, parentNode, childNode, false) { }
public AddNodeCommand(IRootCauseDb db, Node parentNode, string text) : this(db, parentNode, text, false) { }
public CreateProblemContainer(IRootCauseDb db, string initialProblemText) : this(db, initialProblemText, false) { }
public RemoveNodeCommand(IRootCauseDb db, Node removeNode) : this(db, removeNode, false) { }
public ChangeNodeTextCommand(IRootCauseDb db, Node node, string newText) : this(db, node, newText, false) { }
public MoveNodeCommand(IRootCauseDb db, Node movingNode, Node targetNode) : this(db, movingNode, targetNode, false) { }