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