示例#1
0
        /// <summary>
        /// Handles the final time sheet posted event.
        /// </summary>
        /// <param name="args">The <see cref="FinalTimeSheetPostedEventArgs"/> instance containing the event data.</param>
        private void HandleFinalTimeSheetPosted(FinalTimeSheetPostedEventArgs args)
        {
            FinalTimeSheetPosted?.Invoke(this, args);

            this.logger.LogTrace($"{nameof(ContestMediator)}:{nameof(HandleFinalTimeSheetPosted)} " +
                                 $" - Pilot:{args.PilotId}, TimingDeviceId:{args.TimingDeviceId}");
        }
示例#2
0
 /// <summary>
 /// Posts a message with a final timesheet.
 /// </summary>
 /// <param name="timeSheet">The time sheet.</param>
 internal void PostTimeSheetFinal(TimeSheet timeSheet, string pilotId, string timingDeviceId)
 {
     FinalTimeSheetPosted?.Invoke(this, new FinalTimeSheetPostedEventArgs(timeSheet, pilotId, timingDeviceId));
 }