Example #1
0
        /// <summary>
        /// Handles the contents of a network message.
        /// </summary>
        /// <param name="message">The message to handle.</param>
        /// <param name="connection">A reference to the connection from where this message is comming from, for context.</param>
        public override void HandleRequest(INetworkMessage message, IConnection connection)
        {
            var debugAssertionInfo = message.ReadDebugAssertionInfo();

            Console.WriteLine($"{debugAssertionInfo.AssertionLine}");
            Console.WriteLine($"{debugAssertionInfo.Date}");
            Console.WriteLine($"{debugAssertionInfo.Description}");
            Console.WriteLine($"{debugAssertionInfo.Comment}");
        }