예제 #1
0
 public NpsServerTest()
 {
     _npsServerService = GetRequiredService <INpsServerService>();
 }
예제 #2
0
 /// <summary>
 /// 初始化一个<see cref="ServerController"/>实例
 /// </summary>
 /// <param name="npsServerService">NpsServer服务</param>
 public ServerController(INpsServerService npsServerService)
 {
     _npsServerService = npsServerService;
 }