コード例 #1
0
 /// <summary>
 /// 停止测试客户端
 /// </summary>
 private static void StopTestClient(bool writeMessage = true)
 {
     if (writeMessage)
     {
         ConsoleHelper.TestWriteLine("正在关闭服务");
     }
     _testClient?.Stop();
 }