1) add container.AddFacility<TypedFactoryFacility>();
2) modifiy the factory registration:
container.Register(Component.For<IWindsorFactory>().AsFactory().Named("IWindsorFactory"));
3) just keep the IWindsorFactory interface definition and remove the
implementation: Windsor creates an interceptor for it and does the job.
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.