/// <summary> /// Event invocator for the <see cref="AlphaReceived"/> event /// </summary> /// <param name="context">The context whose alpha was generated this time step</param> protected virtual void OnAlphaReceived(AlphaAnalysisContext context) { AlphaReceived?.Invoke(this, context); }
/// <summary> /// Raises the <see cref="AlphaReceived"/> event if there is a subscriber. /// </summary> /// <param name="e">Contains the new alpha value.</param> protected virtual void OnAlphaReceived(AlphaReceivedEventArgs e) { AlphaReceived?.Invoke(this, e); }