/// <inheritdoc />
 public void Dispose()
 {
     if (!_disposed)
     {
         _channelSource?.Dispose();
         _channel?.Dispose();
         _disposed = true;
     }
 }
 // methods
 public void Dispose()
 {
     if (!_disposed)
     {
         _channel.Dispose();
         _disposed = true;
         GC.SuppressFinalize(this);
     }
 }
示例#3
0
 // methods
 /// <inheritdoc/>
 public void Dispose()
 {
     if (!_disposed)
     {
         _channel.Dispose();
         _session.Dispose();
         _disposed = true;
     }
 }