/// <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); } }
// methods /// <inheritdoc/> public void Dispose() { if (!_disposed) { _channel.Dispose(); _session.Dispose(); _disposed = true; } }