コード例 #1
0
 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));
 }
コード例 #2
0
        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());
        }