public void Dispose() { //if (!(reader.Stream is MemoryStream)) // throw new NotImplementedException(); lock (reader) reader.Dispose(); }
public void Dispose() { if (reader != null) { lock (reader) reader.Dispose(); } }
public void DisposingClearsSceneAndInactivates() { reader.Dispose(); Assert.AreEqual(0, reader.scene.Controls.Count); Assert.IsFalse(reader.IsActive); }
public void Dispose() { reader.Dispose(); }