Exemple #1
0
 private void ProcessChoiceGroup(InstanceGroup grp)
 {
     for (int i = 0; i < grp.Occurs; i++)
     {             //Cyclically iterate over the children of choice
         ProcessGroup(grp.GetChild(i % grp.NoOfChildren));
     }
 }
Exemple #2
0
 private void ProcessChoiceGroup(InstanceGroup grp)
 {
     for ( int i = 0; i < grp.Occurs; i++ )
     { //Cyclically iterate over the children of choice
         ProcessGroup(grp.GetChild(i % grp.NoOfChildren));
     }
 }