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

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

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

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

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

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

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

            if (ok)
            {
                UserForNotification = puserNameForNotification;
            }
            HasSubscribeNotification = !string.IsNullOrEmpty(UserForNotification);
        }
Example #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;
            }
        }
Example #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}");
            }
        }