Пример #1
0
        public string toNVPString(string prefix)
        {
            StringBuilder sb = new StringBuilder();

            for (int i = 0; i < this.attribute.Count; i++)
            {
                if (this.attribute[i] != null)
                {
                    sb.Append(prefix).Append("attribute").Append(i).Append(")=").Append(EnumUtils.getDescription(attribute[i]));
                    sb.Append('&');
                }
            }
            return(sb.ToString());
        }