Esempio n. 1
0
        public void SetFingerPrint(bool pFingerPrint)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("FingerPrint", pFingerPrint, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                FingerPrint = pFingerPrint;
            }
        }
Esempio n. 2
0
        public void SetDeviceTokenNotification(string ptoken)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("DeviceTokenNotification", ptoken, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                DeviceTokenNotification = ptoken;
            }
        }
Esempio n. 3
0
        public void SetRememberMe(bool prememebrMe)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("RememberMe", prememebrMe, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                RememberMe = prememebrMe;
            }
        }
Esempio n. 4
0
        public void SetDontShowMeAgain(bool pdontShowMeAgain)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("DontShowMeAgain", pdontShowMeAgain, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                DontShowMeAgain = pdontShowMeAgain;
            }
        }
Esempio n. 5
0
        public void SetPassword(string ppassword)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("Password", ppassword, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                Password = ppassword;
            }
        }
Esempio n. 6
0
        public void SetUserName(string puserName)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("UserName", puserName, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                UserName = puserName;
            }
        }
Esempio n. 7
0
        private void SetUserNameForNotification(string puserNameForNotification)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("UserForNotification", puserNameForNotification, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                UserForNotification = puserNameForNotification;
            }
            HasSubscribeNotification = !string.IsNullOrEmpty(UserForNotification);
        }
Esempio n. 8
0
        public void SetFingerCredentials(string puserName, string ppassword)
        {
            bool ok = CrossSettingsHelper.AddOrUpdateValue("FUserName", puserName, Constants.LocalConfigVirtualFileUser);

            if (ok)
            {
                FUserName = puserName;
            }

            ok = CrossSettingsHelper.AddOrUpdateValue("FPassword", ppassword, Constants.LocalConfigVirtualFileUser);
            if (ok)
            {
                FPassword = ppassword;
            }
        }
Esempio n. 9
0
        public void SetCurrentLangage(string planguage)
        {
            // Set This culture
            bool ok = CrossSettingsHelper.AddOrUpdateValue("Language", planguage, Constants.LocalConfigVirtualFile);

            if (ok)
            {
                CurrentLanguage = planguage;
                // Load langeage selected -> resx file
                Load();
            }
            else
            {
                Console.WriteLine($"Erreur survenue sur TranslateManager.SetCurrentLangage -->  param = {planguage}");
            }
        }