public static IList <Type> BuildCollectionTypes(IEnumerable <PropertyInfo> properties, IClassStrategy classStrategy) { return(properties.Where(property => property.HasPublicGetter() && CollectionUtils.IsCollection(property.PropertyType) && !CollectionUtils.IsBlobOrClob(property.PropertyType) && !classStrategy.IsIgnored(property) && !CollectionUtils.IsQueryable(property.PropertyType)).Select(p => p.PropertyType).ToArray()); }
private IList <PropertyInfo> PropertiesToBeIntrospected(IList <PropertyInfo> candidates, IClassStrategy classStrategy) => candidates.Where(property => property.HasPublicGetter() && !classStrategy.IsIgnored(property.PropertyType) && !classStrategy.IsIgnored(property)).ToList();