Exemplo n.º 1
0
 /// <summary>
 /// Handle new scoops being discovered and pass it over to the plot checker.
 /// </summary>
 /// <param name="sender">
 /// The event sender.
 /// </param>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 private void PlotReaderManagerOnScoopsDiscovered(object sender, ScoopsDiscoveredEventArgs e)
 {
     _deadlineCalculator?.Enqueue(e.Scoops);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Handle new scoops being discovered and pass it over to the plot checker.
 /// </summary>
 /// <param name="sender">
 /// The event sender.
 /// </param>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 private void PlotReaderOnScoopsDiscovered(object sender, ScoopsDiscoveredEventArgs e)
 {
     ScoopsDiscovered?.Invoke(this, e);
 }