[stringtemplate-interest] ST# - question
regardingspecialcasingofIList
Kunle Odutola
Kunle_Odutola at hotmail.com
Thu May 25 18:25:22 PDT 2006
Jeremy,
> The short answer is yes. ST# could treat as multi-valued anything that
> implements IEnumerable.
True. I could have but, that creates other issues e.g. with attributes of
type Hashtable/IDictionary for instance.
> With that in mind, for those objects that support more than IEnumerable
> there is also nothing to stop ST# from allowing both of the following,
> the first of which I understand from a recent mailing list post is
> currently not possible:
>
> $list.Count$
Have you actually tried this with an ICollection?. And an IList.
> $list:template()$
Template application is applicable to all attributes.
Kunle
More information about the stringtemplate-interest
mailing list