Example #1
0
 public EntityMasterDetailViewModel(
     IDialogServiceEx dialog,
     IEntityService service)
 {
     _service = service;
     _dialog  = dialog;
 }
        public string PassPhrase => IsPasswordSet ? "Please confirm your pin:" : "Set a six-digit passcode:"; // Could think of a converter to switch the sentence view side


        public MainPageViewModel(INavigationService navigationService, IKeyManager keyManager, IDialogServiceEx dialogService)
        {
            _navigationService = navigationService;
            _keyManager        = keyManager;
            TryLoginCommand    = new RelayCommand(TryLogin, IsPasswordValid);
            _dialogService     = dialogService;
        }
Example #3
0
 public UserStoriesViewModel(
     IVstsService vstsService,
     NavigationServiceEx navigationService,
     IDialogServiceEx dialogService,
     RecognitionService recognitionService,
     SpeechService speechService)
     : base(vstsService,
            navigationService,
            dialogService,
            recognitionService,
            speechService)
 {
 }
        public MainPageViewModel(INavigationService navigationService, IDialogServiceEx dialogService)
        {
            _navigationService = navigationService;
            _dialogService     = dialogService;

            CheckIfPinIsSet();

            Messenger.Default.Register <EnterPressedMessage>(this, m =>
            {
                if (SelectedCommand.CanExecute(null))
                {
                    SelectedCommand.Execute(null);
                }
            });
        }
Example #5
0
        public ShellView(
            II18nService i18NService,
            IDialogServiceEx dialogService,
            INotificationService notificationService,
            IAppearanceService appearanceService,
            IUpdateService updateService,
            [Inject(Key = "filelogger")] ILoggerService loggerService)
        {
            InitializeComponent();

            this.i18NService         = i18NService;
            this.dialogService       = dialogService;
            this.notificationService = notificationService;
            this.appearanceService   = appearanceService;
            this.updateService       = updateService;
            this.logger = loggerService;

            InitializeTrayIcon();
            LoadDefaultLanguage();
            appearanceService.ApplyAccentColor();
            ApplyTheme();
        }
 public DragDropViewModel(IDialogServiceEx dialogService)
 {
     _dialogService = dialogService;
 }