public MainPageViewModel( INavigationService navigationService, UserContextViewModel userContext, StatisticsViewModel statistics) : base(navigationService) { _serviceProxy = new WebServiceProxy("http://automatewebui.azurewebsites.net/api/automate") { Encoder = new JsonEncoder() }; _userContext = userContext; _statistics = statistics; }
public AgresivityCalculator(StatisticsRepository repository, UserContextViewModel userContext) { _accelerations = new List<AccelerometerReading>(); _repository = repository; _userContext = userContext; }
public StatisticsViewModel(StatisticsRepository statisticsRepository, UserContextViewModel userContext) { _statisticsRepository = statisticsRepository; _userContext = userContext; }