public BattleShipService(IBoardRepo boardRepo, IMatchRepo matchRepo, IShipRepo shipRepo, IPlayerRepo playerRepo) { _boardRepo = boardRepo; _matchRepo = matchRepo; _shipRepo = shipRepo; _playerRepo = playerRepo; }
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; }
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; }
public PlayerUoW(SqlDAL iDAL, IPlayerRepo PlayerRepo) { _iDAL = iDAL; _playerRepo = PlayerRepo; }
public PlayerController(IPlayerRepo playerRepo, ITeamRepo teamRepo) { _playerRepo = playerRepo; _teamRepo = teamRepo; }
public GameService(IPlayerRepo playerRepo) { _playerRepo = playerRepo; }
public PlayerService(IPlayerRepo repo, ITeamRepo teamRepo) { _repo = repo; _teamRepo = teamRepo; }
public LogicServices(IPlayerRepo playerRepo, IBuildRepo buildRepo, IUpgradesRepo upgradeRepo) { this.playerrepo = playerRepo; this.buildrepo = buildRepo; this.upgraderepo = upgradeRepo; }
public PlayerController(IPlayerRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public PlayerController() { playerRepo = new PlayerRepo(); }
public AuthController() { this.playerRepo = new PlayerRepo(); }
public PlayerController(IPlayerRepo playerRepo) { _playerRepo = playerRepo; }
public PlayerBizLog(IPlayerRepo _repo) { repo = _repo; }
public PlayerService(IPlayerRepo playerRepo) { _playerRepo = playerRepo; }
public PlayerController(IPlayerRepo PlayerRepo) { this.PlayerRepo = PlayerRepo ?? throw new ArgumentNullException(nameof(PlayerRepo)); }
public FightController() { playerRepo = new PlayerRepo(); }
public PlayerService() { repo = new PlayerRepo(); contestantRepo = new ContestantRepo(); }