Are these constructor dependencies managed by the container? If they are, you could just inject IKernel and let it resolve them.
If I got it all wrong, please post some code. On Jul 16, 11:47 pm, scott_m <[email protected]> wrote: > How do you design a plugin factory that plays nice with construction > based DI? I have a plugin factory that news up the correct plugin > based upon an arg passed into the GetPlugin call. Unfortunately, > these Plugins have constructor dependencies that must be satisfied. > Am I forced to put these as dependencies in the factory constructor so > I can later satisfy the plugin dependcies at construction time? > > 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 -~----------~----~----~----~------~----~------~--~---
