Beispiel #1
0
        /// <summary>
        /// Adds a penalty to the specified line.
        /// </summary>
        /// <param name="line">Line to add the croissant.</param>
        private void AddPenalty(Line line)
        {
            // Empty the information message.
            InformationMessage = string.Empty;

            // Add the penalty to the line.
            line.AddPenalty(ProcessedDate);

            // Check the commands: they state can change due to the added penalty.
            CheckCommands();
        }