not sure but instead of using generic overloads, use the ones taking System.Type
Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Aug 3, 2009 at 11:19 PM, Yannis <[email protected]> wrote: > > thanks everyone > > i have another question. If i have a generic interface of IMapper<T, > S> > > and i want to register all implementations of IMapper (irrespective of > the arguments). all implementation classes are in the same assembly > > is there any way to do that: > > for IControllers I do: _Container.Register(AllTypes.FromAssembly > (this.Assembly).BasedOn<IController>()); > > but i dont really kjnow how to do the same for generic interfaces > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
