public void SetFingerPrint(bool pFingerPrint) { bool ok = CrossSettingsHelper.AddOrUpdateValue("FingerPrint", pFingerPrint, Constants.LocalConfigVirtualFileUser); if (ok) { FingerPrint = pFingerPrint; } }
public void SetDeviceTokenNotification(string ptoken) { bool ok = CrossSettingsHelper.AddOrUpdateValue("DeviceTokenNotification", ptoken, Constants.LocalConfigVirtualFileUser); if (ok) { DeviceTokenNotification = ptoken; } }
public void SetRememberMe(bool prememebrMe) { bool ok = CrossSettingsHelper.AddOrUpdateValue("RememberMe", prememebrMe, Constants.LocalConfigVirtualFileUser); if (ok) { RememberMe = prememebrMe; } }
public void SetDontShowMeAgain(bool pdontShowMeAgain) { bool ok = CrossSettingsHelper.AddOrUpdateValue("DontShowMeAgain", pdontShowMeAgain, Constants.LocalConfigVirtualFileUser); if (ok) { DontShowMeAgain = pdontShowMeAgain; } }
public void SetPassword(string ppassword) { bool ok = CrossSettingsHelper.AddOrUpdateValue("Password", ppassword, Constants.LocalConfigVirtualFileUser); if (ok) { Password = ppassword; } }
public void SetUserName(string puserName) { bool ok = CrossSettingsHelper.AddOrUpdateValue("UserName", puserName, Constants.LocalConfigVirtualFileUser); if (ok) { UserName = puserName; } }
private void SetUserNameForNotification(string puserNameForNotification) { bool ok = CrossSettingsHelper.AddOrUpdateValue("UserForNotification", puserNameForNotification, Constants.LocalConfigVirtualFileUser); if (ok) { UserForNotification = puserNameForNotification; } HasSubscribeNotification = !string.IsNullOrEmpty(UserForNotification); }
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; } }
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}"); } }