Write() private method

private Write ( TextWriter output ) : void
output System.IO.TextWriter
return void
Ejemplo n.º 1
0
        internal static string AsString(Value val)
        {
            using (var writer = new StringWriter())
            {
                val.Write(writer);

                return(writer.ToString());
            }
        }
Ejemplo n.º 2
0
        private static string ValueToString(Value value)
        {
            using (var mem = new StringWriter())
            {
                value.Write(mem);

                return mem.ToString();
            }
        }