public ElevatorSystemWidget(IElevatorSystem es) { eSystem = es; HBox hbox = new HBox(false, 3); hbox.PackStart(new ElevatorWidget(es.Elevator), false, false, 0); hbox.PackStart(new PersonListWidget(es.PersonList), true, true, 0); AddWithViewport(hbox); Child.ShowAll(); }
public ElevatorSystemHostedService(IElevatorSystem elevatorSystem, IWaiterService waiterService) { _elevatorSystem = elevatorSystem; _waiterService = waiterService; }