public void OnPassingFloor(PassingFloorEventArgs e) { PassingFloor?.Invoke(this, e); }
public void TestInvokePassingFloorEvent(ElevatorDirection direction, int floor) { PassingFloor?.Invoke(this, new PassingFloorEventArgs { Direction = direction, PassingFloorNumber = floor }); }