Beispiel #1
0
        /// <summary>
        /// Adds a new quest to the quest list, selects it, and notifies any
        /// listeners that it happened.
        /// </summary>
        /// <param name="parameter"></param>
        private void DoCancelTally(object parameter)
        {
            tally.Cancel();

            if (cts == null || cts.IsCancellationRequested)
            {
                tally.TallyIsRunning = false;
            }
            else
            {
                cts.Cancel();
            }
        }