Example #1
0
 public RemoteSearchViewModel()
 {
     _registryService           = Mvx.Resolve <IRegistryService>();
     _clientSyncService         = Mvx.Resolve <IClientSyncService>();
     _chohortClientsSyncService = Mvx.Resolve <IChohortClientsSyncService>();;
     _deviceSetupService        = Mvx.Resolve <IDeviceSetupService>();
     _dialogService             = Mvx.Resolve <IDialogService>();
     _remoteSearchService       = Mvx.Resolve <IRemoteSearchService>();
     _settings = Mvx.Resolve <ISettings>();
 }
 public CohortClientsViewModel(ISettings settings, IRegistryService registryService, IDialogService dialogService, IChohortClientsSyncService chohortClientsSyncService, IDeviceSetupService deviceSetupService, IClientSyncService clientSyncService, IEncounterService encounterService)
 {
     _settings                  = settings;
     _registryService           = registryService;
     _dialogService             = dialogService;
     _chohortClientsSyncService = chohortClientsSyncService;
     _deviceSetupService        = deviceSetupService;
     _clientSyncService         = clientSyncService;
     _encounterService          = encounterService;
 }
Example #3
0
 public void SetUp()
 {
     _cohortSyncService = new ChohortClientsSyncService(new RestClient());
 }