Esempio n. 1
0
        public void Dispose()
        {
            _innerConsumer?.Close();
            _innerConsumer?.Dispose();

            _innerConsumer = null;
        }
Esempio n. 2
0
 private void DisposeInnerConsumer()
 {
     _innerConsumer?.Close();
     _innerConsumer?.Dispose();
     _innerConsumer = null;
 }