public SubNodeWithDictionaryOfSubNodes(Node container) { _container = container; }
public void Reset() { _currentNode = _initialNode; }
public void Up() { if (_currentNode.UID == _initialNode.UID) return; _currentNode = _currentNode.Parent; }
public void Down(string key) { _currentNode = _currentNode.GetSubNode(key); }
public void Down(int key) { _currentNode = _currentNode.GetSubNode(key); }
public void CreateSubNodeAndDown(int key) { _currentNode = _currentNode.CreateSubNode(key); }
public RepoBrowser(Node initialNode) { _initialNode = initialNode; _currentNode = _initialNode; }
public SubNodeWithListOfSubNodes(Node container) { _container = container; }
public static Node CreateNewNode(Node parent) { var result = new Node(parent) {UID = _index++}; return result; }
private Node(Node parent) { Parent = parent; Data = new StringData(); }