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