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; }); }
public CameraNavigatorModule(IRegionManager regionManager, IUnityContainer container, AppSettings settings) { _container = container; _settings = settings; RegionManager = regionManager; }