internal CrewAssignEvent InvokeEvent(CrewAssignEvent arg) { if (_api.ValidateEvent(arg)) { CrewAssign?.Invoke(_api, arg); } return(arg); }
private static void AssertEvent(CrewAssignEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2016-08-09T08:45:31Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); Assert.Equal("Dannie Koller", @event.Name); Assert.Equal("Active", @event.Role); Assert.Equal(0, @event.CrewId); }
internal void InvokeCrewAssignEvent(CrewAssignEvent arg) { CrewAssignEvent?.Invoke(this, arg); }
internal void InvokeCrewAssignEvent(CrewAssignEvent arg) => CrewAssignEvent?.Invoke(null, arg);