public UserBP(IPlayerStore playerStore, ISportStore sportStore) { if (playerStore == null) throw new ArgumentNullException("playerStore"); if (sportStore == null) throw new ArgumentNullException("sportStore"); _playerStore = playerStore; _sportStore = sportStore; }
public MatchBP(IMatchStore matchStore, IPlayerStore playerStore, ITeamStore teamStore, ISportStore sportStore) { if (matchStore == null) throw new ArgumentNullException("matchStore"); if (playerStore == null) throw new ArgumentNullException("playerStore"); if (teamStore == null) throw new ArgumentNullException("teamStore"); if (sportStore == null) throw new ArgumentNullException("sportStore"); _matchStore = matchStore; _playerStore = playerStore; _teamStore = teamStore; _sportStore = sportStore; }
public TournamentBP(IPlayerStore playerStore, ITeamStore teamStore, ISportStore sportStore, ITournamentStore tournamentStore, ITournamentSystemFactory tournamentSystemFactory) { if (playerStore == null) throw new ArgumentNullException("playerStore"); if (teamStore == null) throw new ArgumentNullException("teamStore"); if (sportStore == null) throw new ArgumentNullException("sportStore"); if (tournamentSystemFactory == null) throw new ArgumentNullException("tournamentSystemFactory"); _playerStore = playerStore; _teamStore = teamStore; _sportStore = sportStore; _tournamentStore = tournamentStore; _tournamentSystemFactory = tournamentSystemFactory; }