Ejemplo n.º 1
0
        public void Load()
        {
            if (!IsLoaded)
            {
                DontShowMeAgain          = CrossSettingsHelper.GetValueOrDefault("DontShowMeAgain", false, Constants.LocalConfigVirtualFileUser);
                UserName                 = CrossSettingsHelper.GetValueOrDefault("UserName", "", Constants.LocalConfigVirtualFileUser);
                Password                 = CrossSettingsHelper.GetValueOrDefault("Password", "", Constants.LocalConfigVirtualFileUser);
                FUserName                = CrossSettingsHelper.GetValueOrDefault("FUserName", "", Constants.LocalConfigVirtualFileUser);
                FPassword                = CrossSettingsHelper.GetValueOrDefault("FPassword", "", Constants.LocalConfigVirtualFileUser);
                RememberMe               = CrossSettingsHelper.GetValueOrDefault("RememberMe", false, Constants.LocalConfigVirtualFileUser);
                FingerPrint              = CrossSettingsHelper.GetValueOrDefault("FingerPrint", false, Constants.LocalConfigVirtualFileUser);
                UserForNotification      = CrossSettingsHelper.GetValueOrDefault("UserForNotification", "", Constants.LocalConfigVirtualFileUser);
                HasSubscribeNotification = !string.IsNullOrEmpty(UserForNotification);

                DeviceTokenNotification = CrossSettingsHelper.GetValueOrDefault("DeviceTokenNotification", "", Constants.LocalConfigVirtualFileUser);
                IsLoaded = true;
            }
        }
Ejemplo n.º 2
0
 public TranslateManager()
 {
     CurrentLanguage = CrossSettingsHelper.GetValueOrDefault("Language", "", Constants.LocalConfigVirtualFile);
 }