Exemplo n.º 1
0
        static void Main(string[] args)
        {
            IReceive ins = new Receive();

            ins.ReceiveMessage();

            AppRuntimeHelper.ExitConsoleApp();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            var message = GetMessage(args);

            ISend ins = new Send();

            ins.SendMessage(message);

            AppRuntimeHelper.ExitConsoleApp();
        }