Beispiel #1
0
        public void Open(T value)
        {
            var v = new Arbre <T>(Current, value);

            Current.Add(v);
            Current = v;
        }
Beispiel #2
0
 public void Close()
 {
     Current = Current.Parent;
 }
Beispiel #3
0
 public Arbre(Arbre <T> parent, T value)
 {
     Parent = parent;
     Value  = value;
 }