private static void DumpWithOptions(object obj, TextWriter writer, ObjectDumperFormatting options, string[] ignoreMembers, int maxDepth) { ObjectDumper dumper = new ObjectDumper(writer, options, ignoreMembers); dumper._maxDepth = maxDepth; writer.WriteLine(options.DumperHeader); dumper.Dump(obj); }
public static void Dump(object obj, TextWriter writer, ObjectDumperFormatting options, string[] ignoreMembers, int maxDepth) { DumpWithOptions(obj, writer, options, ignoreMembers, maxDepth); }
public static void Dump(object obj, TextWriter writer, ObjectDumperFormatting options, int maxDepth) { DumpWithOptions(obj, writer, options, DEFAULT_IGNORE_MEMBERS, maxDepth); }
public static void Dump(object obj, TextWriter writer, ObjectDumperFormatting options, string[] ignoreMembers) { DumpWithOptions(obj, writer, options, ignoreMembers, DEFAULT_MAX_DEPTH); }
public static void Dump(object obj, TextWriter writer, ObjectDumperFormatting options) { DumpWithOptions(obj, writer, options, DEFAULT_IGNORE_MEMBERS, DEFAULT_MAX_DEPTH); }
private ObjectDumper(TextWriter writer, ObjectDumperFormatting formatting, string[] ignoreMembers) : this(writer) { _formatting = formatting; _ignoreMembers = new List <string>(ignoreMembers); }