Exemple #1
0
 /// <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);
 }
Exemple #2
0
 /// <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);
 }