Esempio 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);
        }
Esempio n. 2
0
 public void AddChild(AcfNode node)
 {
     Children.Add(node);
 }