示例#1
0
 public StateBase(JsonWriter outer)
 {
     this._outer = outer;
 }
示例#2
0
 public InitialState(JsonWriter outer)
     : base(outer)
 {
 }
 protected virtual void WriteExpression(object o, TextWriter writer, Expression expr)
 {
     // NOTE: we don't dispose of the JsonWriter because we didn't create the text writer
     JsonWriter jsonWriter = new JsonWriter(writer, !this.Config.IsCompact, this.Config.TypeAliases);
     WriteComment(jsonWriter, o);
     ExpressionWriter.Write(jsonWriter, this.Config.OutputTypeInformation, expr);
 }