示例#1
0
文件: WebHost.cs 项目: yswenli/SAEA
 /// <summary>
 /// 启动服务
 /// </summary>
 public void Start()
 {
     if (!IsRunning)
     {
         _httpServer.Start();
         IsRunning = true;
     }
 }
示例#2
0
文件: WebHost.cs 项目: qcjxberin/SAEA
 /// <summary>
 /// 启动服务
 /// </summary>
 public void Start()
 {
     if (!IsRunning)
     {
         _serverSocket.Start();
         IsRunning = true;
     }
 }