Пример #1
0
 public static void WriteConsole(EcmaValue value)
 {
     if (defaultConsoleWriter == null)
     {
         defaultConsoleWriter = new InspectorSingleLineSerializer(Console.Out);
     }
     defaultConsoleWriter.Serialize(value);
 }
Пример #2
0
 public InspectorRecursiveSerializer(TextWriter writer, int maxDepth)
     : base(writer)
 {
     this.maxDepth   = maxDepth;
     this.singleLine = new InspectorSingleLineSerializer(writer);
 }