示例#1
0
        public RoundResponseProvider(RoundManager roundManager, MatchResponseProvider matchResponseProvider)
        {
            if(roundManager == null)
                throw new ArgumentNullException("roundManager");

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

            RoundManager = roundManager;
            MatchResponseProvider = matchResponseProvider;
        }
示例#2
0
        public RoundResponseProvider(RoundManager roundManager, MatchResponseProvider matchResponseProvider)
        {
            if (roundManager == null)
            {
                throw new ArgumentNullException("roundManager");
            }

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

            RoundManager          = roundManager;
            MatchResponseProvider = matchResponseProvider;
        }