Beispiel #1
0
        public FirstViewModel(IGoogleMapService googleMapService)
        {
            _googleMapService = googleMapService;
            var g = getIt();

            Helen = new Zombie()
            {
                Name     = "Helen",
                Location = new Location()
                {
                    Lat = 51.4,
                    Lng = 0.4
                },
            };
            Keith = new Zombie()
            {
                IsMale   = true,
                Name     = "Keith",
                Location = new Location()
                {
                    Lat = 51.5,
                    Lng = 0.3
                }
            };
        }
Beispiel #2
0
        public LocationItemViewModel(ILocationsService service, IMvxNavigationService navigationService, IGoogleMapService googleMapService)
        {
            _service           = service;
            _navigationService = navigationService;
            _googleMapService  = googleMapService;

            Title  = "Add Location";
            IsBusy = false;
        }
Beispiel #3
0
 public BusService(
     IRepository <Domains.Bus> repository,
     IRepository <BusTracker> busTrackerRepository,
     IRepository <RouteAssociation> routeAssociationRepository,
     IRepository <Domains.Place> placeRepository,
     IGoogleMapService googleMapService,
     IEntityService entityService) : base(repository, entityService)
 {
     _routeAssociationRepository = routeAssociationRepository;
     _placeRepository            = placeRepository;
     _busTrackerRepository       = busTrackerRepository;
     _googleMapService           = googleMapService;
 }
 public TrackService(
     IRepository <LiveTracker> liveTrackerRepository,
     IRepository <BusTracker> busTrackerRepository,
     IRepository <Domains.Place> placeRepository,
     IRepository <Domains.Student> studentRepository,
     IGoogleMapService googleMapService,
     IRouteService routeService,
     IEntityService entityService) : base(liveTrackerRepository, entityService)
 {
     _busTrackerRepository  = busTrackerRepository;
     _studentRepository     = studentRepository;
     _entityService         = entityService;
     _liveTrackerRepository = liveTrackerRepository;
     _routeService          = routeService;
     _googleMapService      = googleMapService;
 }
 public CustomersController(ApplicationDbContext context, IGetLocalBreweriesService getLocalBreweriesService, IGoogleMapService googleMapService)
 {
     _context = context;
     _getLocalBreweriesService = getLocalBreweriesService;
     _googleMapService         = googleMapService;
 }
Beispiel #6
0
 public HomeController(ILogger <HomeController> logger, ApplicationDbContext context, IGoogleMapService googleMapService)
 {
     _logger           = logger;
     _context          = context;
     _googleMapService = googleMapService;
 }
Beispiel #7
0
 public FoodTrucksController(ApplicationDbContext context, IGoogleMapService googleMapService)
 {
     _context          = context;
     _googleMapService = googleMapService;
 }