Beispiel #1
0
            public HalfTour(TourWrapper tour)
            {
                _t = tour;

                // trip fields

                _tripReader =
                    Global
                    .ContainerDaySim
                    .GetInstance <IPersistenceFactory <ITrip> >()
                    .Reader;

                _tripWrapperCreator =
                    Global
                    .ContainerDaySim
                    .GetInstance <IWrapperFactory <ITripCreator> >()
                    .Creator;
            }
Beispiel #2
0
            public HalfTour(TourWrapper tour)
            {
                _t = tour;

                // trip fields

                _tripReader =
                    Global
                    .Kernel
                    .Get <IPersistenceFactory <ITrip> >()
                    .Reader;

                _tripWrapperCreator =
                    Global
                    .Kernel
                    .Get <IWrapperFactory <ITripCreator> >()
                    .Creator;
            }