private void Dispose(bool disposing) { if (disposing) { _subscriber?.Dispose(); } }
public void Stop() { if (_subscriber != null) { _subscriber.Stop(); _subscriber.Dispose(); _subscriber = null; } }
public void Dispose() { _subscriber?.Dispose(); }
public void Dispose() { _rabbitMqSubscriber.Dispose(); _domainEventAggregator.Dispose(); }
public void Dispose() { _rabbit?.Dispose(); }
public void Dispose() { _connector?.Stop(); _connector?.Dispose(); }