예제 #1
0
        private static void PrintBaseResult(BaseResult res)
        {
            Console.Write("Execution Time: {0}\n", res.GetExecutionTime());
            Console.Write("Warning Count: {0}\n", res.GetWarningCount());

            if (Convert.ToUInt64(res.GetWarningCount()) > 0)
            {
                List <Dictionary <String, Object> > warnings = res.GetWarnings();

                foreach (Dictionary <String, Object> warning in warnings)
                {
                    Console.Write("{0} ({1}): (2)\n", warning["Level"], warning["Code"], warning["Message"]);
                }
            }
        }