コード例 #1
0
ファイル: Tournament.cs プロジェクト: helten-007/Dommersystem
        /// <summary>
        /// Loads counter set from CurrentRun, or resets if blank
        /// </summary>
        private void InitCounterSet()
        {
            var currentRound = GetCurrentRound();

            _roundCounter = RoundHeatCounterSet.CreateCounterSetFor(currentRound);
            if (CurrentRun != null)
            {
                _roundCounter.SetValuesFromString(CurrentRun);
            }
            CurrentRun = _roundCounter.ToString();
        }
コード例 #2
0
ファイル: Tournament.cs プロジェクト: helten-007/Dommersystem
 internal void SetRoundCounter(TournamentCounterSet counter)
 {
     _roundCounter = counter;
     CurrentRun    = _roundCounter.ToString();
 }