コード例 #1
0
 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;
 }
コード例 #2
0
 public AgresivityCalculator(StatisticsRepository repository, UserContextViewModel userContext)
 {
     _accelerations = new List<AccelerometerReading>();
     _repository = repository;
     _userContext = userContext; 
 }
コード例 #3
0
 public StatisticsViewModel(StatisticsRepository statisticsRepository, UserContextViewModel userContext)
 {
     _statisticsRepository = statisticsRepository;
     _userContext = userContext;
 }