Exemplo n.º 1
0
 public static void MarkNonRootNodes(List <DiaNodeMold> NodeList)
 {
     foreach (DiaNodeMold current in NodeList)
     {
         LayerLoader.RecursiveSetIsRootFalse(current);
     }
     foreach (DiaNodeMold current2 in NodeList)
     {
         foreach (DiaNodeMold current3 in NodeList)
         {
             foreach (DiaOptionMold current4 in current3.optionList)
             {
                 bool flag = false;
                 foreach (string current5 in current4.ChildNodeNames)
                 {
                     if (current5 == current2.name)
                     {
                         flag = true;
                     }
                 }
                 if (flag)
                 {
                     current2.isRoot = false;
                 }
             }
         }
     }
 }
Exemplo n.º 2
0
 public static void MarkNonRootNodes(List <DiaNodeMold> NodeList)
 {
     foreach (DiaNodeMold d in NodeList)
     {
         LayerLoader.RecursiveSetIsRootFalse(d);
     }
     foreach (DiaNodeMold diaNodeMold in NodeList)
     {
         foreach (DiaNodeMold diaNodeMold2 in NodeList)
         {
             foreach (DiaOptionMold diaOptionMold in diaNodeMold2.optionList)
             {
                 bool flag = false;
                 foreach (string a in diaOptionMold.ChildNodeNames)
                 {
                     if (a == diaNodeMold.name)
                     {
                         flag = true;
                     }
                 }
                 if (flag)
                 {
                     diaNodeMold.isRoot = false;
                 }
             }
         }
     }
 }
Exemplo n.º 3
0
 public static void MarkNonRootNodes(List <DiaNodeMold> NodeList)
 {
     foreach (DiaNodeMold Node in NodeList)
     {
         LayerLoader.RecursiveSetIsRootFalse(Node);
     }
     foreach (DiaNodeMold Node2 in NodeList)
     {
         foreach (DiaNodeMold Node3 in NodeList)
         {
             foreach (DiaOptionMold option in Node3.optionList)
             {
                 bool flag = false;
                 foreach (string childNodeName in option.ChildNodeNames)
                 {
                     if (childNodeName == Node2.name)
                     {
                         flag = true;
                     }
                 }
                 if (flag)
                 {
                     Node2.isRoot = false;
                 }
             }
         }
     }
 }
Exemplo n.º 4
0
 private static void RecursiveSetIsRootFalse(DiaNodeMold d)
 {
     foreach (DiaOptionMold current in d.optionList)
     {
         foreach (DiaNodeMold current2 in current.ChildNodes)
         {
             current2.isRoot = false;
             LayerLoader.RecursiveSetIsRootFalse(current2);
         }
     }
 }
Exemplo n.º 5
0
 private static void RecursiveSetIsRootFalse(DiaNodeMold d)
 {
     foreach (DiaOptionMold diaOptionMold in d.optionList)
     {
         foreach (DiaNodeMold diaNodeMold in diaOptionMold.ChildNodes)
         {
             diaNodeMold.isRoot = false;
             LayerLoader.RecursiveSetIsRootFalse(diaNodeMold);
         }
     }
 }
Exemplo n.º 6
0
 private static void RecursiveSetIsRootFalse(DiaNodeMold d)
 {
     foreach (DiaOptionMold option in d.optionList)
     {
         foreach (DiaNodeMold childNode in option.ChildNodes)
         {
             childNode.isRoot = false;
             LayerLoader.RecursiveSetIsRootFalse(childNode);
         }
     }
 }