зеркало из https://github.com/stride3d/SharpYaml.git
43 строки
839 B
C#
43 строки
839 B
C#
using System.Diagnostics;
|
|
|
|
namespace YamlDotNet.Test
|
|
{
|
|
public class Dump
|
|
{
|
|
[Conditional("TEST_DUMP")]
|
|
public static void Write(object value)
|
|
{
|
|
Debug.Write(value);
|
|
}
|
|
|
|
[Conditional("TEST_DUMP")]
|
|
public static void Write(string format, params object[] args)
|
|
{
|
|
Debug.Write(string.Format(format, args));
|
|
}
|
|
|
|
[Conditional("TEST_DUMP")]
|
|
public static void WriteLine()
|
|
{
|
|
Debug.WriteLine(string.Empty);
|
|
}
|
|
|
|
[Conditional("TEST_DUMP")]
|
|
public static void WriteLine(string value)
|
|
{
|
|
WriteLine((object)value);
|
|
}
|
|
|
|
[Conditional("TEST_DUMP")]
|
|
public static void WriteLine(object value)
|
|
{
|
|
WriteLine("{0}", value);
|
|
}
|
|
|
|
[Conditional("TEST_DUMP")]
|
|
public static void WriteLine(string format, params object[] args)
|
|
{
|
|
Debug.WriteLine(format, args);
|
|
}
|
|
}
|
|
} |