public void DOWNLOAD_REDISTS() { foreach (string redist in UDHT.REDIST) { GITHUB.DOWNLOAD_REDIST(redist); } }
private static void PROCUDE_SCHEDULETASK(ScheduleTaskUDHT t) { switch (t.type) { case "DOWNLOAD_REDISTS": foreach (string redist in UDHT.REDIST) { GITHUB.DOWNLOAD_REDIST(redist); } break; case "WRONG_ARGUMENT": write(false, "You applied unknown argument: ", ConsoleColor.Red); write(true, t.argument, ConsoleColor.DarkRed); break; default: if (UDHT.DEBUG_BUILD) { write(true, "Invalid task provided. Skipping... (" + t.type + "/" + t.argument + ")", ConsoleColor.Yellow); } else { write(true, "Invalid task provided. Skipping...", ConsoleColor.Yellow); } break; } }