Exemple #1
0
 public void Add(ExtensionNodeInfo child)
 {
     if (Children == null)
     {
         Children = new List <ExtensionNodeInfo> ();
     }
     Children.Add(child);
 }
Exemple #2
0
 void StoreOrder(List <ExtensionNodeInfo> list)
 {
     for (int n = 0; n < list.Count; n++)
     {
         ExtensionNodeInfo node = list [n];
         node.Order = n;
         if (node.Children != null)
         {
             StoreOrder(node.Children);
         }
     }
 }
Exemple #3
0
        public override bool Equals(object obj)
        {
            ExtensionNodeInfo en = obj as ExtensionNodeInfo;

            return(en != null && Node == en.Node);
        }