public void Visit(RegistryText text) { this.current.Add(text.Key); if (this.current.Count == this.parts.Length) { this.values.Add(text.Value); } this.current.RemoveAt(this.current.Count - 1); }
public void Visit(RegistryText text) { this.current.Add(text.Key); if (this.current.Count == this.parts.Length + 1) { this.keys.Add(this.current[this.parts.Length]); } this.current.RemoveAt(this.current.Count - 1); }