private static void AssertEvent(RepairAllEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2019-09-09T13:01:13Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); Assert.Equal(242, @event.Cost); }
internal RepairAllEvent InvokeEvent(RepairAllEvent arg) { if (_api.ValidateEvent(arg)) { RepairAll?.Invoke(_api, arg); } return(arg); }
internal void InvokeRepairAllEvent(RepairAllEvent arg) { RepairAllEvent?.Invoke(this, arg); }
internal void InvokeRepairAllEvent(RepairAllEvent arg) => RepairAllEvent?.Invoke(null, arg);