public static bool isSuccess = false;
if (args.Length > 0) { foreach (var m in args) { var argum = m.ToString(); if (argum.Contains("-main")) { ..... Console.WriteLine("Start"); foreach (var a in Query.WorkItem) { workitemList.Add(a.id); } Info(xml, workitemList, RestAPI); Console.WriteLine("Complete"); isSuccess = true; } else if (argum.Contains("-sub")) { ..... //run complete isSuccess = true; } } } else { return; }
Properties.Settings.Default.isSuccess = true; Properties.Settings.Default.Save();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)