Exemple #1
0
 public void Dispose()
 {
     //if (!(reader.Stream is MemoryStream))
     //    throw new NotImplementedException();
     lock (reader)
         reader.Dispose();
 }
Exemple #2
0
 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);
 }
Exemple #4
0
 public void Dispose()
 {
     reader.Dispose();
 }