public string this[String columnName]
{
get
{
if (CanValidate && validators != null)
{
PropertyDescriptor property;
if (This.Properties.TryGetValue(columnName, out property))
{
return string.Join(Environment.NewLine, validators.Select(
v => v.Validate(this, property)).Where(e => !string.IsNullOrEmpty(e))
.ToArray());
}
}
return String.Empty;
}
}