Beispiel #1
0
 internal SystemsShutdownEvent InvokeEvent(SystemsShutdownEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         SystemsShutdown?.Invoke(_api, arg);
     }
     return(arg);
 }
Beispiel #2
0
 private void AssertEvent(SystemsShutdownEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2019-08-29T13:34:47Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
 }
 internal void InvokeSystemsShutdownEvent(SystemsShutdownEvent arg)
 {
     SystemsShutdownEvent?.Invoke(this, arg);
 }
Beispiel #4
0
 internal void InvokeSystemsShutdownEvent(SystemsShutdownEvent arg) => SystemsShutdownEvent?.Invoke(null, arg);