I'm having some difficulty having multiple implementations of the same
service. This was a discussion awile back and it was suggested to use
service overrides. However, this allows you to change the
implementation at compile time, I need all 3 implementations available
at run-time as different classes use a different implementation. Is
this possible? I can resolve directly out of the container using
container.resolve(Of IService)("Implementation1"). Can I give my
classes access to the container somehow? I'm currently using
constructor injection and it does not appear possible this way.
Thanks.
--
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.