Did you try Enumerable.ToList[of BusinessLayer](grouping) ? Also, I believe you can do import System.Linq.Enumerable from System.Core
and then do ToList[of BusinessLayer](grouping) On Aug 12, 10:34 am, Jan Limpens <[email protected]> wrote: > How can I get to the IList<> part of an IGrouping in brail? > > I tried grouping.ToList() > Method 'System.Linq.Lookup`2+Grouping[[Businesslayer.ProductGroup, > FestaExpress.Businesslayer, Version=1.0.0.0, Culture=neutral, > PublicKeyToken=null],[Businesslayer.Article, Businesslayer, Version=1.0.0.0, > Culture=neutral, PublicKeyToken=null]].ToList' not found. > > I am importing System.Linq, so it ought to be there > > Enumerable.ToList(grouping) > Cannot infer generic arguments for method > 'System.Linq.Enumerable.ToList(System.Collections.Generic.IEnumerable[of > T][System.Linq.Enumerable.TSource])'. Provide stronger type information > through arguments, or explicitly state the generic arguments. > > Simply casting does not work either (they could have implemented that). > > Is there a simple way? > > -- > Jan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
