public override string ToString()
{
string categories = string.Empty;
foreach (Category category in base.List) {
if (category.IfDefined && !category.UnlessDefined) {
// add comma delimited if its not the first category
if (!StringUtils.IsNullOrEmpty(categories)) {
categories += ",";
}
categories += category.CategoryName;
}
}
return categories;
}