Exemple #1
0
 /// <summary>
 /// ドロー設定の新しいインスタンスを生成します。
 /// </summary>
 /// <param name="numberOfBlocks">ブロック数。</param>
 /// <param name="numberOfDraws">ドロー数。</param>
 /// <param name="numberOfEntries">エントリー数。</param>
 /// <param name="numberOfWinners">勝ち抜き数。</param>
 /// <param name="tournamentGrade">大会グレード。</param>
 public DrawSettings(NumberOfBlocks numberOfBlocks,
                     NumberOfDraws numberOfDraws,
                     NumberOfEntries numberOfEntries,
                     NumberOfWinners numberOfWinners,
                     TournamentGrade tournamentGrade)
 {
     this.NumberOfBlocks  = numberOfBlocks;
     this.NumberOfDraws   = numberOfDraws;
     this.NumberOfEntries = numberOfEntries;
     this.NumberOfWinners = numberOfWinners;
     this.TournamentGrade = tournamentGrade;
 }
Exemple #2
0
 /// <summary>
 /// 大会グレードを更新します。
 /// </summary>
 /// <param name="tournamentGradeId">大会グレード ID。</param>
 public void UpdateTournamentGrade(int tournamentGradeId)
 {
     this.TournamentGrade = Enumeration.FromValue <TournamentGrade>(tournamentGradeId);
 }