> I guess that you don't want to do this: > > container.Resolve<IService>().GetType() >
Yup. that would have been a "bad call" rite? :P Thanks for the help! Knave On Feb 2, 10:28 am, Germán Schuager <[email protected]> wrote: > I guess that you don't want to do this: > > container.Resolve<IService>().GetType() > > :) > > Try this: > > container.Kernel.GetHandler(typeof(IService)).ComponentModel.Implementation > > On Sun, Feb 1, 2009 at 10:08 PM, KnaveT <[email protected]> wrote: > > > As per the subject. > > > I have a scenario whereby I need a System.Type of the class that is > > registered and not the object instance. > > > Thanks. > > > Knave --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
