McDonnellDean
McDonnellDean

Reputation: 1087

Common Interface for Dependency Injection

I am working on an open source lib which uses Ninject for Dependency Injection purposes. I would like to offer others the ability to use their own injection libs with my code. I do not use anything specific to Ninject as far as I am aware.

Is there a Standard interface already in use by the community that I can use for this purpose? If not has anyone created such an interface before?

Upvotes: 3

Views: 212

Answers (1)

Steven
Steven

Reputation: 172646

This is where the Common Service Locator is designed for. There is a CSL adapter for Ninject.

Upvotes: 4

Related Questions