public override bool CanHandle(Mapper.Configuration.AbstractPropertyConfiguration configuration, Context context)
{
var scConfig = configuration as SitecoreFieldConfiguration;
if (scConfig == null)
return false;
Type type = scConfig.PropertyInfo.PropertyType;
if (!type.IsGenericType) return false;
if (type.GetGenericTypeDefinition() != typeof(IEnumerable<>) && type.GetGenericTypeDefinition() != typeof(IList<>))
return false;
return true;
}