Exemplo n.º 1
0
 public Initializator(BuildingInitializator buildingInitializator, ManagerInitializator managerInitializator,
                      PassengerCreator passengerCreator)
 {
     this.buildingInitializator = buildingInitializator;
     this.managerInitializator  = managerInitializator;
     this.passengerCreator      = passengerCreator;
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            BuildingInitializator buildingInitializator = new BuildingInitializator();
            ManagerInitializator  managerInitializator  = new ManagerInitializator();
            PassengerCreator      passengerCreator      = new PassengerCreator();

            Initializator initializator = new Initializator(buildingInitializator, managerInitializator, passengerCreator);

            initializator.Initialize();

            System.Threading.Thread.Sleep(600000);
        }