Beispiel #1
0
        static void Main(string[] args)
        {
            var writer = Console.Out;
            var client = new CommonClient(writer);
            client.Run();

            Console.ReadLine();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            var writer = Console.Out;
            var client = new CommonClient(writer);

            client.Run("http://localhost:40476/");

            Console.ReadKey();
        }
Beispiel #3
0
        private static void Main(string[] args)
        {
#if DEBUG
            if (args.Any(a => a == "--debug"))
            {
                args = args.Where(a => a != "--debug").ToArray();
                Console.WriteLine($"Ready for debugger to attach. Process ID: {Process.GetCurrentProcess().Id}.");
                Console.WriteLine("Press ENTER to continue.");
                Console.ReadLine();
            }
#endif

            var writer = Console.Out;
            var client = new CommonClient(writer);
            client.Run("http://localhost:40476/");

            Console.ReadKey();
        }