public void Dispose()
 {
     adminClient.DeleteTopicsAsync(new List <string> {
         Name
     }).Wait();
     adminClient.Dispose();
 }
 public override void Dispose()
 {
     _adminClient.Dispose();
 }
Exemple #3
0
 public void Dispose()
 {
     _adminClient.Dispose();
 }
 public override Task StopAsync(CancellationToken cancellationToken)
 {
     _client?.Dispose();
     return(Task.CompletedTask);
 }