Esempio n. 1
0
        /// <inheritdoc/>
        public void Dispose()
        {
            if (disposed)
            {
                throw new ObjectDisposedException(GetType().FullName);
            }

            disposed = true;

            innerSink.Dispose();
        }
Esempio n. 2
0
 /// <inheritdoc/>
 public void Dispose()
 => innerSink.Dispose();
 /// <inheritdoc/>
 public virtual void Dispose()
 {
     ((IDisposable)stopEvent).SafeDispose();
     innerSink.Dispose();
 }