Cone.Runners.ConsoleLoggerWriter.Write C# (CSharp) 메소드

Write() 보호된 메소드

protected Write ( ConsoleColor color, string format ) : void
color ConsoleColor
format string
리턴 void
        protected void Write(ConsoleColor color, string format, params object[] args)
        {
            var message = string.Format(format, args);
            lock(Console.Out) {
                var tmp = Console.ForegroundColor;
                Console.ForegroundColor = color;
                Console.Out.Write(message);
                Console.ForegroundColor = tmp;
            }
        }

Same methods

ConsoleLoggerWriter::Write ( ConsoleResult result ) : void