Castle Windsor Tips — specifying IEnumerable in config file

One of the more obscure things I have had to do inside a Cas­tle con­fig is to spec­i­fy an IEnumerable<T> instance which required tak­ing the tech­nique I showed in this post a lit­tle fur­ther:
<component id="MyTypes"
           service="System.Collections.Generic.IEnumerable`1[[Type, Assembly]], mscorlib"
           type="System.Collections.Generic.List`1[[Type, Assembly]], mscorlib"

I spec­i­fied the lifestyle of this IEnumerable<T> to be sin­gle­ton as in most cas­es where you would want to do some­thing like this is to be able to con­fig­ure some­thing once and use it every­where, but you should change it to suit your needs.