public void StoreValues(Data data, string path) { data.SetValue(@"" + path + @"AccountId", Data.EscapeString(AccountId)); data.SetValue(@"" + path + @"IsSecured", IsSecured.ToString()); data.SetValue(@"" + path + @"Password", _password); data.SetValue(@"" + path + @"Url", Data.EscapeString(Url)); data.SetValue(@"" + path + @"UserName", Data.EscapeString(UserName)); }
public override string ToString() { StringBuilder sb = new StringBuilder(); sb.AppendLine("AccountId=" + AccountId.ToString()); sb.AppendLine("IsSecured=" + IsSecured.ToString()); sb.AppendLine("Password="******"Url=" + Url.ToString()); sb.AppendLine("UserName=" + UserName.ToString()); return(sb.ToString()); }