Beispiel #1
0
        /// <summary>
        /// Main method of sender
        /// </summary>
        /// <param name="args">args from command line</param>
        static void Main(string[] args)
        {
            var index = Array.FindIndex(args, x => x == "--reconnect-example");

            if (index != -1)
            {
                Application.Main(args.Skip(1).ToArray());
            }
            else
            {
                SenderClient client = new SenderClient();
                client.Run(args);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Main method of sender
        /// </summary>
        /// <param name="args">args from command line</param>
        static void Main(string[] args)
        {
            SenderClient client = new SenderClient();

            client.Run(args);
        }