Example #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!_disposed)
     {
         if (disposing)
         {
             _transport.Dispose();
         }
         _disposed = true;
     }
 }
 public void Dispose()
 {
     _transport.Dispose();
 }