Thank you Mauricio this is exactly what I want. Mauricio Scheffer escribió: > You could use the Kernel.ComponentModelCreated event and remove the > dependency there. > > See http://gist.github.com/144086 > > On Jul 9, 4:06 pm, "José F. Romaniello" <[email protected]> > wrote: > >> It works but... the other solutions is ...................................? >> I want to configure this option at the service level. >> >> I want >> >> João Bragança escribió: >> >> >> >> >>> You can decorate the property with [DoNotWire] >>> >>> On Jul 9, 10:23 am, "José F. Romaniello" <[email protected]> >>> wrote: >>> >>>> How can I inject a service in the container that has dependencies on >>>> other services... but I don't want this service be injected in others. >>>> >>>> For instance: >>>> Services IA , IB, IC, ID, IF, IG >>>> >>>> IB depends uppon IA >>>> IC, ID, IF, IG -------> have a property of type IB but >>>> I don't want IB be injected here. >>>> > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
