[stringtemplate-interest]ST#-questionregardingspecialcasingofIList
Kunle Odutola
Kunle_Odutola at hotmail.com
Fri May 26 12:16:20 PDT 2006
Jeremy,
> Re: not implementing IList - doh, brain-fart on my part. Still, you're
> special-casing IDictionary at a higher priority so the overall point
> still stands: you need only target IEnumerable.
IDictionary really isn't special cased as far as enumerability/multi-value
is concerned. It's constituent values can be enumerated.
If by "you need only target IEnumerable." you meant "all IEnumerable must
always be treated as ILists currently are", then I disagree. On the other
hand, IEnumerables can already be enumerated in ST#.
> At the end of the day, Kunle, you're a primary maintainer on this and
> I'm just an interested user, so you can do whatever you want with it.
> Just consider my posts to be a friendly reminder from the peanut
> gallery.
If you place assorted collection objects (i.e. ICollection/IList/IEnuerable
etc) as attributes into ST#, you should find that it behaves predictably.
Including the enumeration of IEnumerables behaviour you are interested in.
Kunle
More information about the stringtemplate-interest
mailing list