Ejemplo n.º 1
0
 private void Initialize()
 {
     SecureKeyService    = Locator.GetService <ISecureKeyService>();
     GuestureLockService = Locator.GetService <IGuestureLockService>();
     alertService        = Locator.GetService <IAlertService>();
     appIconService      = Locator.GetService <IAppIconService>();
     themeService        = Locator.GetService <IThemeService>();
     languageService     = Locator.GetService <ILanguageService>();
 }
Ejemplo n.º 2
0
        public BaseGuestureLockViewModel(IGuestureLockService guetureLockSerivce)
        {
            int day = DateTime.Now.Day;

            TodayDate = day.ToString();
            int month = DateTime.Now.Month;

            Month                   = GetMonthInEnglish(month);
            Phrase                  = GetPhrase(month, day);
            CompleteCommand         = new Command((arg) => CompleteExcute(arg));
            this.guetureLockSerivce = guetureLockSerivce;
        }
Ejemplo n.º 3
0
 public GuestureVerifyViewModel(IGuestureLockService guestureLockService) : base(guestureLockService)
 {
 }
 public GuestureLockViewModel(IGuestureLockService guestureLockService) : base(guestureLockService)
 {
     ResetLockExcute();
     ResetLockCommand = new RelayCommand(() => ResetLockExcute());
 }