コード例 #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;
 }
コード例 #2
0
 public RoundPage(Round round)
 {
     Round = round;
     InitializeComponent();
     Loaded += Page_Loaded;
 }
コード例 #3
0
 public AnswerGatherer(Round round)
 {
     _round = round;
 }