示例#1
0
 public Task StopAsync(CancellationToken cancellationToken)
 {
     _commandListener.Close();
     _commandListener.Received -= CommandReceive;
     return(Task.CompletedTask);
 }