public static string Dump(object element, DumpOptions dumpOptions = null) { if (dumpOptions == null) { dumpOptions = new DumpOptions(); } var instance = new ObjectDumperConsole(dumpOptions); return(instance.DumpElement(element)); }
public static string Dump(object element, DumpOptions dumpOptions = null) { if (dumpOptions == null) { dumpOptions = new DumpOptions(); } var instance = new ObjectDumperConsole(dumpOptions); instance.FormatValue(element); return(instance.ToString()); }