Beispiel #1
0
        /// <summary>Dumps the given element.</summary>
        /// <param name="element">      The element to dump. </param>
        /// <param name="indentSize">   Size of the indent. </param>
        /// <returns>A string.</returns>
        public static string Dump(object element, int indentSize)
        {
            var instance = new ObjectDumper(indentSize);

            return(instance.DumpElement(element));
        }