Intercept creation of instances in Ninject
问题 I am looking to intercept the creation of instances that implement a certain interface, or have a certain attribute. I am able to do something similiar with the interception extension, but that only seems to do method and property interception. Here is how I can intercept method and property calls, but it doesn't intercept the constructor call: _kernel.Bind<IInterceptor>().To<LogInterceptor>().InSingletonScope(); _kernel.Intercept(x => { if (x.Plan.Type.GetInterface(typeof