How do I get a list of bindings which are bound to a particular implementation type?
IKernel.Bind<IService>().To(implementationType);
something like this ?
var bindings = IKernel.GetBindings(typeof(IService))
.Where(b=>b.ImplementationType==implementationType)
Not easily. If you can somehow construct a Ninject Context, you can do
UPDATE
Actually there is an alternate way to do it. When declaring your bindings you can supply metadata
Then you can get all bindings by doing this