public static void SaveAll() { foreach (Group ThisGroup in List) { if (ThisGroup == GroupDB.NoGroup) { continue; } ThisGroup.SaveAll(); } }
public static string GetAllGroupsRanks() { string output = "LISTING GROUP RANKS\n"; output += "===================\n"; foreach (Database.GroupDB.Group ThisGroup in Database.GroupDB.List) { output += " Ranks for Group: \"" + ThisGroup.Name + "\"\n"; output += " " + ThisGroup.ListRanksToString() + "\n"; } return(output); }