Example #1
0
        public TournamentManager(RoundManager roundManager)
        {
            if(roundManager == null)
                throw new ArgumentNullException("roundManager");

            RoundManager = roundManager;
        }
Example #2
0
        public TournamentManager(RoundManager roundManager)
        {
            if (roundManager == null)
            {
                throw new ArgumentNullException("roundManager");
            }

            RoundManager = roundManager;
        }
        public RoundResponseProvider(RoundManager roundManager, MatchResponseProvider matchResponseProvider)
        {
            if(roundManager == null)
                throw new ArgumentNullException("roundManager");

            if(matchResponseProvider == null)
                throw new ArgumentNullException("matchResponseProvider");

            RoundManager = roundManager;
            MatchResponseProvider = matchResponseProvider;
        }
        public MatchResultController(RoundManager roundManager, RoundResponseProvider roundResponseProvider)
        {
            if(roundManager == null)
                throw new ArgumentException("roundManager");

            if(roundResponseProvider == null)
                throw new ArgumentException("roundResponseProvider");

            RoundManager = roundManager;
            RoundResponseProvider = roundResponseProvider;
        }
Example #5
0
        public RoundController(TournamentManager tournamentManager, RoundManager roundManager, RoundResponseProvider roundResponseProvider)
        {
            if(tournamentManager == null)
                throw new ArgumentNullException("tournamentManager");

            if(roundManager == null)
                throw new ArgumentNullException("roundManager");

            if(roundResponseProvider == null)
                throw new ArgumentNullException("roundResponseProvider");

            TournamentManager = tournamentManager;
            RoundManager = roundManager;
            RoundResponseProvider = roundResponseProvider;
        }
Example #6
0
 public RoundsController()
 {
     RoundManager = new RoundManager();
 }