コード例 #1
0
 /// <summary>
 /// 注入仓储
 /// </summary>
 /// <param name="iserverlistrepository"></param>
 public ServerAdminService(IServerListRepository iserverlistrepository)
 {
     _iserverlistrepository = iserverlistrepository;
 }
コード例 #2
0
 public HomeService(IUserRepository iuserrepository, IUserLoginLogRepository userLoginLogRepository, IServerListRepository serverListRepository)
 {
     _userrepository         = iuserrepository;
     _userLoginLogRepository = userLoginLogRepository;
     _serverListRepository   = serverListRepository;
 }