private void AssertEvent(JetConeBoostEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2017-08-14T15:41:50Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal(1.000000, @event.BoostValue, 6);
 }
Exemple #2
0
 internal JetConeBoostEvent InvokeEvent(JetConeBoostEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         JetConeBoost?.Invoke(_api, arg);
     }
     return(arg);
 }
Exemple #3
0
 internal void InvokeJetConeBoostEvent(JetConeBoostEvent arg)
 {
     JetConeBoostEvent?.Invoke(this, arg);
 }
Exemple #4
0
 internal void InvokeJetConeBoostEvent(JetConeBoostEvent arg) => JetConeBoostEvent?.Invoke(null, arg);