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