internal PayFinesEvent InvokeEvent(PayFinesEvent arg) { if (_api.ValidateEvent(arg)) { PayFines?.Invoke(_api, arg); } return(arg); }
private static void AssertEvent(PayFinesEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2018-03-19T10:24:21Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); Assert.Equal(250, @event.Amount); Assert.Equal("Batz Transport Commodities", @event.Faction); Assert.False(@event.AllFines); }
internal void InvokePayFinesEvent(PayFinesEvent arg) { PayFinesEvent?.Invoke(this, arg); }
internal void InvokePayFinesEvent(PayFinesEvent arg) => PayFinesEvent?.Invoke(null, arg);