private ProcessGroupNode InitializeGroupFor(ProcessNode aNode) { var group = new ProcessGroupNode(aNode); _groups.Add(group); AddNodeInLexigographycalOrder(group); return group; }
public bool Equals(ProcessNode other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Process, Process)); }
public void VisitProcessNode(ProcessNode processNode) { EnqueueNode(processNode); }
private void MarkSelected(ProcessNode aNode) { var t = AllNodes.First(adv => aNode.Equals(adv.Tag)); t.IsSelected = true; }
public void VisitProcessNode(ProcessNode processNode) { CollectedProcesses.Add(processNode.Process); VisitChildNodesOf(processNode); }
private ProcessGroupNode GroupFor(ProcessNode aNode) { return _groups.FirstOrDefault(g => g.Groups(aNode)) ?? InitializeGroupFor(aNode); }
public void VisitProcessNode(ProcessNode processNode) { _nodeWasHandled = _processHandler(processNode); }
public bool Equals(ProcessNode other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Process, Process); }