public static IColumnsBuilderConventions IgnoreComplex(this IColumnsBuilderConventions conventions) { return(conventions.IgnoreWhere(y => !(y.GetMemberInfoType().GetTypeInfo().IsValueType || y.GetMemberInfoType() == typeof(string) || y.GetMemberInfoType() == typeof(byte[])))); }
public static IColumnsBuilderConventions IgnoreComplex(this IColumnsBuilderConventions conventions) { return(conventions.IgnoreWhere(y => !(y.PropertyType.IsValueType || y.PropertyType == typeof(string) || y.PropertyType == typeof(byte[])))); }