Very interesting - today I have been trying to do just the same thing - get component name having only IKernel. And have found the answer here, even without looking for it. Thanks R
On 17 Lip, 17:29, João Bragança <[email protected]> wrote: > You can use kernel.GetHandler(serviceType) then use > handler.ComponentModel.Name > > On Jul 17, 8:11 am, scott_m <[email protected]> wrote: > > > > > Can you use the IKernel to do a reverse lookup? That is, resolve a > > type or implementation to the IOC key name? > > > 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 -~----------~----~----~----~------~----~------~--~---
