示例#1
0
文件: AmfFile.cs 项目: klorpa/CoCEd
 public void TestSerialization()
 {
     using (var stream = new ComparisonStream(FilePath))
     {
         using (var writer = new AmfWriter(stream))
         {
             writer.Run(this, Name, Format);
         }
         stream.AssertSameLength();
     }
 }
示例#2
0
文件: AmfFile.cs 项目: Belgrath/CoCEd
 public void TestSerialization()
 {
     using (var stream = new ComparisonStream(FilePath))
     {
         using (var writer = new AmfWriter(stream))
         {
             writer.Run(this, Name, Format);
         }
         stream.AssertSameLength();
     }
 }