public BattleShipService(IBoardRepo boardRepo, IMatchRepo matchRepo, IShipRepo shipRepo, IPlayerRepo playerRepo)
 {
     _boardRepo  = boardRepo;
     _matchRepo  = matchRepo;
     _shipRepo   = shipRepo;
     _playerRepo = playerRepo;
 }
Ejemplo n.º 2
0
 private void ChoosePlayers_Click(object sender, RoutedEventArgs e)
 {
     _playerRepo = new PlayerRepo();
     _playerList = _playerRepo.ListOfPlayers(1);
     _gameboard  = new Gameboard(_playerList, _dice);
     UpdateScreen();
 }
 public RegionalVotesController(ISchoolRepo schoolRepo, IPlayerRepo playerRepo, ITeamRepo TeamRepo, IRegionalVoteRepo iRegionalVoteRepo)
 {
     this.iSchoolRepo       = schoolRepo;
     this.iPlayerRepo       = playerRepo;
     this.iTeamRepo         = TeamRepo;
     this.iRegionalVoteRepo = iRegionalVoteRepo;
 }
Ejemplo n.º 4
0
 public PlayersController(IPlayerRepo playerRepo, ISchoolRepo schoolRepo, ITeamRepo teamRepo, ITeamPlayerRepo iTeamPlayerRepo)
 {
     this.iPlayerRepo     = playerRepo;
     this.iSchoolRepo     = schoolRepo;
     this.iTeamRepo       = teamRepo;
     this.iTeamPlayerRepo = iTeamPlayerRepo;
 }
        public PlayerController(IPlayerRepo playerRepo, ITeamRepo teamRepo)
        {
            //if (Mode == "DB")
            //{
            //    _playerRepo = new PlayersRepo();
            //    _teamRepo = new TeamRepo();
            //}
            //else
            //{
            //    _playerRepo = new PlayerMockRepo();

            //}

            _playerRepo = playerRepo;
            _teamRepo = teamRepo;
        }
Ejemplo n.º 6
0
 public PlayerUoW(SqlDAL iDAL, IPlayerRepo PlayerRepo)
 {
     _iDAL       = iDAL;
     _playerRepo = PlayerRepo;
 }
 public PlayerController(IPlayerRepo playerRepo, ITeamRepo teamRepo)
 {
     _playerRepo = playerRepo;
     _teamRepo = teamRepo;
 }
Ejemplo n.º 8
0
 public GameService(IPlayerRepo playerRepo)
 {
     _playerRepo = playerRepo;
 }
Ejemplo n.º 9
0
 public PlayerService(IPlayerRepo repo, ITeamRepo teamRepo)
 {
     _repo     = repo;
     _teamRepo = teamRepo;
 }
Ejemplo n.º 10
0
 public LogicServices(IPlayerRepo playerRepo, IBuildRepo buildRepo, IUpgradesRepo upgradeRepo)
 {
     this.playerrepo  = playerRepo;
     this.buildrepo   = buildRepo;
     this.upgraderepo = upgradeRepo;
 }
Ejemplo n.º 11
0
 public PlayerController(IPlayerRepo playerRepo, ITeamRepo teamRepo)
 {
     _playerRepo = playerRepo;
     _teamRepo   = teamRepo;
 }
Ejemplo n.º 12
0
 public PlayerController(IPlayerRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Ejemplo n.º 13
0
 public PlayerController()
 {
     playerRepo = new PlayerRepo();
 }
Ejemplo n.º 14
0
 public AuthController()
 {
     this.playerRepo = new PlayerRepo();
 }
Ejemplo n.º 15
0
 public PlayerController(IPlayerRepo playerRepo)
 {
     _playerRepo = playerRepo;
 }
Ejemplo n.º 16
0
 public PlayerBizLog(IPlayerRepo _repo)
 {
     repo = _repo;
 }
Ejemplo n.º 17
0
 public PlayerService(IPlayerRepo playerRepo)
 {
     _playerRepo = playerRepo;
 }
Ejemplo n.º 18
0
 public PlayerController(IPlayerRepo PlayerRepo)
 {
     this.PlayerRepo = PlayerRepo ?? throw new ArgumentNullException(nameof(PlayerRepo));
 }
Ejemplo n.º 19
0
 public FightController()
 {
     playerRepo = new PlayerRepo();
 }
Ejemplo n.º 20
0
 public PlayerService()
 {
     repo           = new PlayerRepo();
     contestantRepo = new ContestantRepo();
 }