Beispiel #1
0
 public static void VariablesNotBasedOnAttributes(KnowledgeBase KB, List<KBObject> objs, out List<string[]> lineswriter, out int cant)
 {
     lineswriter = new List<string[]>();
     int cant_aux;
     cant = 0;
     KBDoctorOutput.StartSection("KBDoctor - Check variables not based on attributes with the same name");
     foreach (KBObject obj in objs)
     {
         List<string[]> lines_aux = new List<string[]>();
         Objects.VariablesNotBasedOnAttributes(KB.DesignModel, obj, out lines_aux, out cant_aux);
         lineswriter.AddRange(lines_aux);
         cant += cant_aux;
     }
     KBDoctorOutput.EndSection("KBDoctor - Check variables not based on attributes with the same name");
 }