ICache
is registered as a ninject component. IKernel.Components.Get<ICache>()
should do the trick.
There is no "easy out of the box" way to either retrieve bindings or all activated singletons.
However the ICache
should hold references to all singletons so you should be able to retrieve the instanciated singletons from there.
But you will need use reflection since the cached values are not publicly accessible.