NInject Services Required in Several Named Areas

I made a post on the Ninject forum, but received no answers ... I wonder if anyone has any suggestions?

http://groups.google.com/group/ninject/browse_thread/thread/9ac79d5541f015cb

Hi everyone, I have several different workflows in a Windows service, and these workflows share some dependencies. I would like to identify a few and then attached to this area. If I make several bindings, each of which has a different scope, I get an exception, basically saying that I have duplicate bindings. Is there a preferred way to do this?

Thank!

+3
source share
1 answer

, . , , . . - WhenParentNamed WhenAnyAnchestorNamed, , .

, , , . , . . , .

+3

All Articles