public static string PrintToString <T>(this T obj, Func <PrintingConfig <T>, PrintingConfig <T> > config)
 {
     return(config(ObjectPrinter.For <T>()).PrintToString(obj));
 }
Example #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));
 }
Example #4
0
 public static string PrintToString <T>(this T obj)
 => ObjectPrinter.For <T>().PrintToString(obj);