Пример #1
0
        public LoginPageViewModel(INavigationService navigationService, IPageDialogService dialogService,
                                  IDebugMode debugMode)
        {
            _navigationService = navigationService;
            _debugMode         = debugMode;
            _dialogService     = dialogService;

            登入Command = new DelegateCommand(登入);
            if (_debugMode.IsDebugMode() == true)
            {
                Account  = "001";
                Password = "******";
            }
        }
 public MessageRepetHandler(ICache cache, IDebugMode debug)
 {
     _cache = cache;
     _debug = debug;
 }