Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public RoundPage(Round round)
 {
     Round = round;
     InitializeComponent();
     Loaded += Page_Loaded;
 }
Ejemplo n.º 3
0
 public AnswerGatherer(Round round)
 {
     _round = round;
 }