Пример #1
0
        internal void ValidateContainer(LNNode container)
        {
            if (content == null)
            {
                return;
            }
            LNNode[] nodes = container.childs;
            int      size  = container.GetNodeCount();

            for (int i = 0; i < size; i++)
            {
                if (nodes[i].IsContainer())
                {
                    this.ValidateContainer(nodes[i]);
                }
            }
        }
Пример #2
0
 internal void ValidateContainer(LNNode container)
 {
     if (content == null)
     {
         return;
     }
     LNNode[] nodes = container.childs;
     int size = container.GetNodeCount();
     for (int i = 0; i < size; i++)
     {
         if (nodes[i].IsContainer())
         {
             this.ValidateContainer(nodes[i]);
         }
     }
 }
Пример #3
0
 public virtual int Size()
 {
     return((content == null) ? 0 : content.GetNodeCount());
 }