Exemple #1
0
 internal SystemsShutdownEvent InvokeEvent(SystemsShutdownEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         SystemsShutdown?.Invoke(_api, arg);
     }
     return(arg);
 }
Exemple #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);
 }
Exemple #4
0
 internal void InvokeSystemsShutdownEvent(SystemsShutdownEvent arg) => SystemsShutdownEvent?.Invoke(null, arg);