Exemplo n.º 1
0
 /// <summary>
 /// Disposes the stream.
 /// </summary>
 /// <param name="disposing">Ttrue if the stream is disposing.</param>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         _implementation.DisposeImplementation();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Disposes the file stream.
 /// </summary>
 /// <param name="disposing"></param>
 protected override void Dispose(bool disposing)
 {
     if (disposing && !_disposed)
     {
         _disposed = true;
         _implementation.DisposeImplementation();
     }
 }