public override bool CanHandle(AbstractPropertyConfiguration configuration, Context context)
{
if (!(configuration is SitecoreLinkedConfiguration))
return false;
if (!configuration.PropertyInfo.PropertyType.IsGenericType) return false;
Type outerType = Utilities.GetGenericOuter(configuration.PropertyInfo.PropertyType);
Type innerType = Mapper.Utilities.GetGenericArgument(configuration.PropertyInfo.PropertyType);
return typeof (IEnumerable<>) == outerType;// && context.TypeConfigurations.ContainsKey(innerType);
}
}