private void SendEvent(EventHandler <TabulationStateEventArgs> handler, TabulationStateEventArgs tabulationState) { handler?.Invoke(this, tabulationState); }
/// <summary> /// Inform listeners of a completed count. /// </summary> /// <param name="tabulationState">The current tabulation state at the time of update.</param> protected void CompleteCount(TabulationStateEventArgs tabulationState) => SendEvent(CountComplete, tabulationState);
/// <summary> /// Inform listeners of a completed tabulation round. /// </summary> /// <param name="tabulationState">The current tabulation state at the time of update.</param> protected void CompleteRound(TabulationStateEventArgs tabulationState) => SendEvent(RoundComplete, tabulationState);
/// <summary> /// Inform listeners of a completed tabulation round. /// </summary> /// <param name="tabulationState">The current tabulation state at the time of update.</param> public new void CompleteRound(TabulationStateEventArgs tabulationState) => base.CompleteRound(tabulationState);