Esempio n. 1
0
        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;
                }

            }
        }
Esempio n. 2
0
		public static void Main (string[] args)
		{
			MainClass op = new MainClass();
			op.retrieveRules();
		}
Esempio n. 3
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.RehydrationPostRequest();
 }
Esempio n. 4
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.CreateHistoricalJob();
 }
Esempio n. 5
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.SearchGetRequest();
 }
Esempio n. 6
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.addRule();
 }
        public static void Main(string[] args)
        {
            MainClass op = new MainClass();

            op.CreateHistoricalJob();
        }
Esempio n. 8
0
        public static void Main(string[] args)
        {
            MainClass op = new MainClass();

            op.addRule();
        }
Esempio n. 9
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.MonitorJob();
 }