I register some components like this:

                Component.For<IRoutesSetup>()
                    .ImplementedBy<RoutesSetup>()
                    .LifeStyle.Transient
                    .ServiceOverrides(ServiceOverride
                                        .ForKey("RoutingProviders")
                                        .Eq(new[]
                                                  {
                                                      typeof
(CmsPagesRoutesProvider).Name,
                                                    typeof
(DomainRoutesProvider).Name,
                                                    typeof
(XmlRoutesProvider).Name
                                                  }))

but upon resolving IRoutesSetup its RoutingProviders are in a different
order. In xml I pass a list of service references (list/items style) and
this does not seem to happen. Any way to do this fluently as well?

-- 
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.


Reply via email to