public static void Write(object o, int depth) { var dumper = new ObjectDumper(depth); dumper.WriteObject(null, o); }