public ServerHostedService(ServerBootstrap hostBootstrap, ClientBootstrap clientBootstrap, ServerManage serverManage)
        {
            _hostBootstrap   = hostBootstrap;
            _clientBootstrap = clientBootstrap;

            _serverManage = serverManage;
        }
示例#2
0
 public ClientHostedService(ClientBootstrap clientBootstrap)
 {
     _clientBootstrap = clientBootstrap;
 }