Esempio n. 1
0
 public Building()
 {
     this.personel  = new List <Personel>();
     this.elevators = new List <Elevator>();
     this.floors    = new List <Floor>();
     this.arrivedAt = new ElevatorArrivedAt(ArrivedAtMethod);
 }
Esempio n. 2
0
 public Elevator(IEnumerable <Floor> floors, ElevatorArrivedAt onstop) : this(floors)
 {
     this.OnStop = onstop;
 }