Пример #1
0
 public void Dispose()
 {
     _producerRegistry?.Dispose();
 }
Пример #2
0
 public void Dispose()
 {
     _producerRegistry?.Dispose();
     _consumer?.Dispose();
 }
 public void Dispose()
 {
     _administrationClient.DeleteTopicAsync(_topicName).GetAwaiter().GetResult();
     _channel?.Dispose();
     _producerRegistry?.Dispose();
 }