Example #1
0
        public override string PrettyPrint()
        {
            PrettyPrinter prettyPrinter = new PrettyPrinter();

            this.WriteTo(prettyPrinter);
            return(prettyPrinter.Value());
        }
Example #2
0
        internal static string FormatAnyValue(AnyValue value)
        {
            PrettyPrinter printer = new PrettyPrinter("'");

            value.WriteTo(printer);
            return(printer.Value());
        }