Пример #1
0
 public void TestSerialization()
 {
     using (var stream = new ComparisonStream(FilePath))
     {
         using (var writer = new AmfWriter(stream))
         {
             writer.Run(this, Name, Format);
         }
         stream.AssertSameLength();
     }
 }
Пример #2
0
 public void TestSerialization()
 {
     using (var stream = new ComparisonStream(FilePath))
     {
         using (var writer = new AmfWriter(stream))
         {
             writer.Run(this, Name, Format);
         }
         stream.AssertSameLength();
     }
 }