Ejemplo n.º 1
0
 public RecordViewModel(INavigationService navigationService, ILocationService locationService, IGPXService gpxService, IStravaService stravaService) : base(navigationService)
 {
     _gpxService      = gpxService;
     _locationService = locationService;
     _stravaService   = stravaService;
     //_locationService.StatusChanged += OnLocationServiceStatusChanged;
 }
Ejemplo n.º 2
0
        protected override void Given()
        {
            path = new Directions();
            path.Routes.Add(new Route(PointMother.EthelSt, PointMother.ChannelSt));
            path.Routes.Add(new Route(PointMother.ChannelSt, PointMother.BeckwithSt));

            service = container.Create<GPXService>();
        }
Ejemplo n.º 3
0
 public HomeController(IDirectionsService directionsService, IGPXService gpx, IThreadCache cache)
     : base(cache)
 {
     this.directionsService = directionsService;
     this.gpx = gpx;
 }