Esempio n. 1
0
        static void Main(string[] args)
        {
            //Research
            //Research r = new Research();
            //r.Run();

            //Demo standard execution
            try
            {
                //Logging the output to a console
                IOutputLog demoOutputLog = new ConsoleLog();
                //Demo
                string demoSettingsFile = @"DemoSettings.xml";
                SMDemo.RunDemo(demoOutputLog, demoSettingsFile);
            }
            catch (Exception e)
            {
                Console.WriteLine();
                while (e != null)
                {
                    Console.WriteLine(e.Message);
                    e = e.InnerException;
                }
            }
            Console.WriteLine("Press Enter.");
            Console.ReadLine();
            return;
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            //Research - this is not a part of the demo - it is a free playground
            //(new Research()).Run();

            //Demo standard execution
            try
            {
                //Run the demo
                SMDemo.RunDemo(new ConsoleLog(), @"DemoSettings.xml");
            }
            catch (Exception e)
            {
                Console.WriteLine();
                while (e != null)
                {
                    Console.WriteLine(e.Message);
                    e = e.InnerException;
                }
            }
            Console.WriteLine("Press Enter.");
            Console.ReadLine();
            return;
        } //Main