Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Support generic convention: ISomeType matches SomeType (drop the I for class name) #40

robrich opened this Issue · 1 comment

2 participants


Ninject.Extensions.Conventions has a nice convention that ISomeType is implemented by SomeType (drop the I, look for class in the same namespace & assembly). In theory, this need not be bound to Ninject, but rather a "generic convenion IoC" based on that rule.


Interesting, thanks for letting me know.
Some containers (StructureMap, and Windsor, I believe) support this out of the box. I will try adding this to Ninject.

It would make sense to make this a "Generic" convention, but I wonder if it always applies. I will have to investigate further.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.