示例#1
0
文件: Program.cs 项目: jkkrefta/Relay
        private static void RunTestLoop()
        {
            var run   = true;
            var count = 0;

            while (run)
            {
                run = HandleConsoleInput();
                count++;
                _relay.SendMessage(new Message {
                    Data = count.ToString()
                });
            }
        }