示例#1
0
 public bool TryStop()
 {
     _service.Shutdown();
     _hosts.ForEach(h => h.Close());
     return(true);
 }