示例#1
0
 public static string ToDump <T>(T obj, string name, DumpSettings settings)
 {
     return(ToDump(obj, (obj == null) ? typeof(T) : obj.GetType(), name, settings));
 }
示例#2
0
 public static string ToDump <T>(T obj, DumpSettings settings)
 {
     return(ToDump <T>(obj, null, settings));
 }
示例#3
0
 public Dump(object obj, DumpSettings settings)
     : this(obj, null, null, 0, settings)
 {
 }
示例#4
0
 public Dump(object obj, Type type, DumpSettings settings)
     : this(obj, type, null, 0, settings)
 {
 }
示例#5
0
 public static string ToDump(object obj, Type type, string name, int level, DumpSettings settings)
 {
     return(new Dump(obj, type, name, level, settings).ToString());
 }