Esempio n. 1
0
 public ConnectionPresenter(StorageService service, AppSettings settings, ModalViewManager modalViewManager)
 {
     _service = service;
     _settings = settings;
     ConnectCommand = new DelegateCommand<object>(
         (o) =>
         {
             _settings.Save();
             _service.Connect();
             if (_service.IsConnect)
             {
                 modalViewManager.Hide();
             }
             HasProblems = !_service.IsConnect;
         });
 }
Esempio n. 2
0
 public CameraNavigatorModule(IRegionManager regionManager, IUnityContainer container, AppSettings settings)
 {
     _container = container;
        _settings = settings;
        RegionManager = regionManager;
 }