public static string PrintToString <T>(this T obj, Func <PrintingConfig <T>, PrintingConfig <T> > config)
 {
     return(config(ObjectPrinter.For <T>()).PrintToString(obj));
 }
示例#2
0
 public static string PrintToString <T>(this T obj,
                                        Func <PrintingConfig <T>, PrintingConfig <T> > setConfig)
 => setConfig(ObjectPrinter.For <T>()).PrintToString(obj);
 public static string PrintToString <T>(this T obj)
 {
     return(ObjectPrinter.For <T>().PrintToString(obj));
 }
示例#4
0
 public static string PrintToString <T>(this T obj)
 => ObjectPrinter.For <T>().PrintToString(obj);