コード例 #1
0
 public PublicViewListsController(PavlovServerPlayerHistoryService pavlovServerPlayerHistoryService,
                                  UserService userService, PavlovServerService pavlovServerService,
                                  PublicViewListsService publicViewListsService, MatchService matchService, MapsService mapsService)
 {
     _pavlovServerPlayerHistoryService = pavlovServerPlayerHistoryService;
     _userService            = userService;
     _pavlovServerService    = pavlovServerService;
     _publicViewListsService = publicViewListsService;
     _matchService           = matchService;
     _mapsService            = mapsService;
 }
コード例 #2
0
 public PublicViewListsServiceTest()
 {
     services = new ServicesBuilder();
     _mocker  = new AutoMocker();
     services.Build(_mocker);
     _pavlovServerService       = _mocker.CreateInstance <PavlovServerService>();
     _sshServerSerivce          = _mocker.CreateInstance <SshServerSerivce>();
     _pavlovServerInfoService   = _mocker.CreateInstance <PavlovServerInfoService>();
     _pavlovServerPlayerService = _mocker.CreateInstance <PavlovServerPlayerService>();
     _publicViewListsService    = _mocker.CreateInstance <PublicViewListsService>();
 }
コード例 #3
0
 public MatchMakingController(UserService userService,
                              MatchService matchService,
                              PavlovServerService pavlovServerService, TeamService teamService,
                              MatchSelectedSteamIdentitiesService matchSelectedSteamIdentities,
                              SteamIdentityService steamIdentityService,
                              MapsService mapsService,
                              PublicViewListsService publicViewListsService,
                              TeamSelectedSteamIdentityService teamSelectedSteamIdentityService,
                              MatchSelectedTeamSteamIdentitiesService matchSelectedTeamSteamIdentitiesService)
 {
     _userservice          = userService;
     _matchService         = matchService;
     _pavlovServerService  = pavlovServerService;
     _teamService          = teamService;
     _steamIdentityService = steamIdentityService;
     _matchSelectedSteamIdentitiesService     = matchSelectedSteamIdentities;
     _matchSelectedTeamSteamIdentitiesService = matchSelectedTeamSteamIdentitiesService;
     _teamSelectedSteamIdentityService        = teamSelectedSteamIdentityService;
     _mapsService            = mapsService;
     _publicViewListsService = publicViewListsService;
 }