Ejemplo n.º 1
0
 /// <summary>
 /// Dump object
 /// </summary>
 /// <param name="d">object data</param>
 /// <param name="indent">size of indentation</param>
 /// <param name="verbose">Flags for adding type information</param>
 /// <returns>string of dumped object</returns>
 public static string Dump(object d, int indent, bool verbose, int maxDepth)
 {
     DumpObject dmp = new DumpObject(d, indent, verbose, maxDepth);
     return dmp.Dump();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Dump object
        /// </summary>
        /// <param name="d">object data</param>
        /// <param name="indent">size of indentation</param>
        /// <param name="verbose">Flags for adding type information</param>
        /// <returns>string of dumped object</returns>
        public static string Dump(object d, int indent, bool verbose, int maxDepth)
        {
            DumpObject dmp = new DumpObject(d, indent, verbose, maxDepth);

            return(dmp.Dump());
        }