public static void Main(string[] args) { string choice = ""; MainClass op = new MainClass(); while (!choice.Equals("q")) { Console.WriteLine ("This program demonstrates the basic operations of"); Console.WriteLine ("(a)dding, (d)eleting, and (l)isting rules. As a bonus, you can also (q)uit."); Console.WriteLine (); Console.Write ("Operation => "); choice = Console.ReadLine(); choice = choice.ToLower(); if (!(choice.Equals("a") || choice.Equals("d") || choice.Equals("l"))) { break; } //op.ruleAction(choice); switch (choice) { case "a": case "d": op.ruleAction(choice); break; case "l": op.listRules(); break; default: break; } } }
public static void Main (string[] args) { MainClass op = new MainClass(); op.retrieveRules(); }
public static void Main(string[] args) { MainClass op = new MainClass(); op.RehydrationPostRequest(); }
public static void Main(string[] args) { MainClass op = new MainClass(); op.CreateHistoricalJob(); }
public static void Main(string[] args) { MainClass op = new MainClass(); op.SearchGetRequest(); }
public static void Main(string[] args) { MainClass op = new MainClass(); op.addRule(); }
public static void Main(string[] args) { MainClass op = new MainClass(); op.MonitorJob(); }