Exemplo n.º 1
0
        public bool TryGetChildWithKey(string key, out AcfNode child)
        {
            foreach (AcfNode childNode in Children)
            {
                if (childNode.Key == key)
                {
                    child = childNode;
                    return(true);
                }
            }

            child = null;
            return(false);
        }
Exemplo n.º 2
0
 public void AddChild(AcfNode node)
 {
     Children.Add(node);
 }