Exemplo 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;
                }

            }
        }
Exemplo n.º 2
0
		public static void Main (string[] args)
		{
			MainClass op = new MainClass();
			op.retrieveRules();
		}
Exemplo n.º 3
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.RehydrationPostRequest();
 }
Exemplo n.º 4
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.CreateHistoricalJob();
 }
Exemplo n.º 5
0
 public static void Main(string[] args)
 {
     MainClass op = new MainClass();
     op.SearchGetRequest();
 }
Exemplo 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();
        }
Exemplo n.º 8
0
        public static void Main(string[] args)
        {
            MainClass op = new MainClass();

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