Beispiel #1
0
 public void Playback(JsonWriter writer)
 {
     if (writer == null)
     {
         throw new ArgumentNullException("writer");
     }
     writer.WriteFromReader(this.CreatePlayer());
 }
 protected override void ExportValue(ExportContext context, object value, JsonWriter writer)
 {
     writer.WriteFromReader(((JsonBuffer) value).CreateReader());
 }