public static Round Next(IEnumerable<Participant> roundParticipants) { var result = new Round(_lastRoundNumber++); result.Question = QuestionGenerator.Next(); result.ParticipantAnswers.AddRange(roundParticipants.Select(p => new ParticipantAnswer(p))); return result; }
public RoundPage(Round round) { Round = round; InitializeComponent(); Loaded += Page_Loaded; }
public AnswerGatherer(Round round) { _round = round; }