public static List<PropertyItem> GetCustomFieldPropertyItems(IEnumerable<ICustomFieldDefinition> definitions, Row row, string fieldPrefix)
{
var list = new List<PropertyItem>();
foreach (var def in definitions)
{
string name = fieldPrefix + def.Name;
var field = row.FindFieldByPropertyName(name) ?? row.FindField(name);
list.Add(GetCustomFieldPropertyItem(def, field));
}
return list;
}