public void Add(AccountInformation information1)
 {
     AccountInformation accountInfoByName = this.GetAccountInfoByName(information1.get_AccountID());
     if (accountInfoByName != null)
     {
         accountInfoByName.set_AccountPassword(information1.get_AccountPassword());
     }
     else
     {
         this._objList.Add(information1);
     }
 }
 public void ReadFromFile(string text1)
 {
     XmlReader reader = null;
     reader = new XmlTextReader(text1);
     this._objList.Clear();
     while (reader.Read())
     {
         if (((reader.NodeType != XmlNodeType.Element) || (reader.Name.ToUpper() != "AccountInfo".ToUpper())) || (reader.AttributeCount <= 0))
         {
             continue;
         }
         AccountInformation item = new AccountInformation();
         while (reader.MoveToNextAttribute())
         {
             string str3 = reader.Name.ToUpper();
             if (str3 == "AccountID".ToUpper())
             {
                 item.set_AccountID(reader.Value);
             }
             else
             {
                 if (str3 == "AccountPassword".ToUpper())
                 {
                     item.set_AccountPassword(reader.Value);
                     continue;
                 }
                 if (str3 == "LoginURL".ToUpper())
                 {
                     item.set_LoginURL(reader.Value);
                     continue;
                 }
                 if (str3 == "Role".ToUpper())
                 {
                     item.set_Role((EnumCollection.eMemberPosition) ((int) Math.Round(Conversion.Val(reader.Value))));
                 }
             }
         }
         this._objList.Add(item);
     }
     reader.Close();
 }