Doing this:

AllTypes.Of(typeof(ConsumerOf<>))
                    .FromAssembly(typeof(ApplicationMessages).Assembly)
                    .Configure(registration =>
registration.LifeStyle.Transient)

This registers and then resolves successfully when asking for
ConsumerOf<SomeMessage>:

class SomeConsumer : ConsumerOf<SomeMessage> {}

While this doesn't when asking for ConsumerOf<SomeMessage<SomeClass>>:

class SomeOtherConsumer<T> : ConsumerOf<SomeMessage<T>> {}

Am I missing something?

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