Example #1
0
 public List <PropertyInfo> GetSearchableProperties(IList <PropertyInfo> typeProperties)
 {
     return(typeProperties.Where(propertyInfo =>
                                 !NonSearchableProperties.Any(nonSearchableProperty => nonSearchableProperty.Name == propertyInfo.Name)
                                 ).ToList());
 }