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