public override string ToString()
{
lock (this.attributeValues) {
if (this.attributeValues.Count == 0) {
return @"RmAttributeValue.Null";
} else if (this.attributeValues.Count == 1) {
return this.attributeValues[0].ToString();
} else {
StringBuilder sb = new StringBuilder(this.attributeValues.Count);
foreach (Object v in this.attributeValues) {
sb.Append("{");
sb.Append(v);
sb.Append("}");
sb.Append(@" ");
}
// take off the last space
if (sb.Length > 0) {
sb.Remove(sb.Length - 1, 1);
}
return sb.ToString();
}
}
}