I'm not sure I understand what you're asking. Surely you know that you can add another Component.For … SelectedWith<AnotherSelector>()
-- Krzysztof Kozmic On Thursday, 24 January 2013 at 8:09 AM, Scott_M wrote: > Is it possible to have multiple Typed factories in windsor but with different > component selectors? > > This is how we register our single typed factory currently: > > container.AddFacility<TypedFactoryFacility>(); > container.Register(Component.For<ITypedFactoryComponentSelector>().ImplementedBy<ComponentIdComponentSelector>()); > container.Register( > Component.For<ILookupFormatterFactory>().LifeStyle.Transient > .AsFactory(c => > c.SelectedWith<ComponentIdComponentSelector>()) //Note we must overide > default selector so we can select by component id > ); > > > How would you register in the case that you had multiple typed factories but > with different component selectors? > > > -- > 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] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > Visit this group at http://groups.google.com/group/castle-project-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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]. Visit this group at http://groups.google.com/group/castle-project-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
