But as I said above the implementation classes exist in more than one
assemblies. (not only in HomeController). How would I go about doing
that? thx

On Apr 27, 12:11 am, "Henrik Feldt" <[email protected]> wrote:
> Kernel.Register(AllTypes.Of<IDateService>().FromAssembly(typeof
> (HomeController).Assembly));
>
> -----Original Message-----
> From: [email protected]
>
> [mailto:[email protected]] On Behalf Of Yannis
> Sent: den 26 april 2009 19:32
> To: Castle Project Users
> Subject: Dynamically register all implementation of a service
> programmatically
>
> Hi all,
>
> Is there any way to register the implementation of IDateService if the
> classes exist in different assemblies? This would be without using the
> config file to enter them in manually. thx
--~--~---------~--~----~------------~-------~--~----~
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