Advertisement
Guest User

Untitled

a guest
May 7th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. private static IList<RefinementGroup> GenerateAvailableProductRefinementsFrom(IEnumerable<ProductTitle> productsFound)
  2. {
  3. var brandsRefinementGroup = productsFound
  4. .Select(p => p.Brand)
  5. .Distinct()
  6. .ToList()
  7. .ConvertAll<IProductAttribute>(b => (IProductAttribute)b)
  8. .ConvertToRefinementGroup(RefinementGroupings.brand);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement