Restrict Injection by Namespace. Is this possible?

18 views
Skip to first unread message

Shapper

unread,
Mar 21, 2013, 6:35:18 PM3/21/13
to structure...@googlegroups.com
Hello,

I have the following configuration:

  For<ITranslatorProvider>().Singleton().Use<TranslatorProviderA>();

I have 3 translator providers: TranslatorProviderA, B and C.

Each one should be used under certain namespaces.

  Project.Services > Use Provider A

  Project.Site > User Provider B

  ...

Is this possible?

Thank You,
Miguel


Reply all
Reply to author
Forward
0 new messages