Ejemplo n.º 1
0
 void ICustomObjectSerialize.WritePropertyValues(SettingsStorage storage)
 {
     storage.SaveOption("", "UserName", LoginUserName);
     if (EmpresaActualId != -1)
     {
         storage.SaveOption("", "IdEmpresa", EmpresaActualId.ToString());
     }
 }
Ejemplo n.º 2
0
 protected void WritePropertyValuesCore(SettingsStorage storage)
 {
     storage.SaveOption("", "UserName", UserName);
     if (storage is EncryptedSettingsStorage || CaptionHelper.ApplicationModel.GetPlatform() == Platform.Web)
     {
         storage.SaveOption("", "Password", Password);
         storage.SaveOption("", "RememberMe", RememberMe.ToString());
     }
 }
Ejemplo n.º 3
0
 void ICustomObjectSerialize.WritePropertyValues(SettingsStorage storage) {
     storage.SaveOption("", "UserName", UserName);
     storage.SaveOption("", "Password", RememberMe ? Password : "");
     storage.SaveOption("", "RememberMe", RememberMe.ToString(CultureInfo.InvariantCulture));
 }
Ejemplo n.º 4
0
 protected void WritePropertyValuesCore(SettingsStorage storage)
 {
     storage.SaveOption("", "UserName", UserName);
     storage.SaveOption("", "Password", Password);
     storage.SaveOption("", "RememberMe", RememberMe.ToString());
 }
Ejemplo n.º 5
0
 protected void WritePropertyValuesCore(SettingsStorage storage) {
     Debug.Assert(storage.GetType() == _storage.GetType());
     storage.SaveOption("", "UserName", UserName);
     storage.SaveOption("", "Password", Password);
     storage.SaveOption("", "RememberMe", RememberMe.ToString());
 }
Ejemplo n.º 6
0
 public void WritePropertyValues(SettingsStorage storage) {
     storage.SaveOption("", "UserName", UserName);
     storage.SaveOption("", "Password", RememberMe ? Password : "");
     storage.SaveOption("", "RememberMe", RememberMe.ToString());
 }
Ejemplo n.º 7
0
 public void WritePropertyValues(SettingsStorage storage)
 {
     storage.SaveOption("", "UserName", UserName);
     storage.SaveOption("", "Password", RememberMe ? Password : "");
     storage.SaveOption("", "RememberMe", RememberMe.ToString());
 }
Ejemplo n.º 8
0
 public void WritePropertyValues(SettingsStorage storage)
 {
     storage.SaveOption("", "UserName", UserName);
     storage.SaveOption("", "Client", Client);
 }