void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _messages.Dispose(); } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _sinks.Dispose(); _sinks = null; } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (!disposing || _disposed) { return; } if (_items != null) { _items.Dispose(); } _items = null; _disposed = true; }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (_disposed) { return; } if (disposing) { _consumerSinks.Dispose(); _consumerSinks = null; } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _endpointConfigurators.Dispose(); _endpointConfigurators = null; _transportTypes.Dispose(); _transportTypes = null; } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (disposing && !_disposed) { if (_started) { Stop(); } if (_subscriptions != null) { _subscriptions.Dispose(); } _subscriptions = null; _disposed = true; } }
protected void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _messageRequested.Close(); _messageRequested = null; _messageWaiting.Close(); _messageWaiting = null; _complete.Close(); _complete = null; _messages.Dispose(); _messages = null; } _disposed = true; }
public void Dispose() { _sinks.Dispose(); }
public override void Dispose() { _storage.WriteLock(x => x.Clear()); _storage.Dispose(); }