private void AssertEvent(ProspectedAsteroidEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2019-09-11T13:04:24Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     // TODO: Add more tests
 }
 internal ProspectedAsteroidEvent InvokeEvent(ProspectedAsteroidEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         ProspectedAsteroid?.Invoke(_api, arg);
     }
     return(arg);
 }
예제 #3
0
 internal void InvokeProspectedAsteroidEvent(ProspectedAsteroidEvent arg)
 {
     ProspectedAsteroidEvent?.Invoke(this, arg);
 }
예제 #4
0
 internal void InvokeProspectedAsteroidEvent(ProspectedAsteroidEvent arg) => ProspectedAsteroidEvent?.Invoke(null, arg);