/// Constructor with explicit type specification public Dump(object objectToDump, Type type, DumpSettings settings) : this(objectToDump, type, null, 0, settings) { }
/// Constructor with explicit type specification public Dump(object objectToDump, DumpSettings settings) : this(objectToDump, null, null, 0, settings) { }
/// Dump object to string, adding 'name=' prefix before output public static string ToDump <T>(T objectToDump, string name, DumpSettings settings) { return(ToDump(objectToDump, (objectToDump == null) ? typeof(T) : objectToDump.GetType(), name, settings)); }
/// Dump object to string, interpreting object as the object of type , adding 'name=' prefix before output public static string ToDump(object objectToDump, Type type, string name, int level, DumpSettings settings) { return(new Dump(objectToDump, type, name, level, settings).ToString()); }
/// Dump object to string public static string ToDump <T>(T objectToDump, DumpSettings settings) { return(ToDump <T>(objectToDump, null, settings)); }