/// <inheritdoc />
 public SaveFileModel Deserialize(string fileName)
 {
     using (var stream = File.Open(fileName, FileMode.Open))
     {
         _breader.Open(stream);
         var ret = Deserialize();
         _breader.Close();
         return(ret);
     }
 }
예제 #2
0
 public void CloseStreamTest()
 {
     _breader.Open(_testStream);
     _breader.Close();
     Assert.False(_testStream.CanRead);
 }