private static void AssertEvent(ScientificResearchEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2016-06-10T14:32:03Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     // TODO: Add more tests
 }
Beispiel #2
0
 internal ScientificResearchEvent InvokeEvent(ScientificResearchEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         ScientificResearch?.Invoke(_api, arg);
     }
     return(arg);
 }
Beispiel #3
0
 internal void InvokeScientificResearchEvent(ScientificResearchEvent arg)
 {
     ScientificResearchEvent?.Invoke(this, arg);
 }
Beispiel #4
0
 internal void InvokeScientificResearchEvent(ScientificResearchEvent arg) => ScientificResearchEvent?.Invoke(null, arg);