/// <inheritdoc/> public void Dispose() { if (disposed) { throw new ObjectDisposedException(GetType().FullName); } disposed = true; innerSink.Dispose(); }
/// <inheritdoc/> public void Dispose() => innerSink.Dispose();
/// <inheritdoc/> public virtual void Dispose() { ((IDisposable)stopEvent).SafeDispose(); innerSink.Dispose(); }