Esempio n. 1
0
 /// <summary>
 /// reate a new instance of NinjectServiceBehavior
 /// </summary>
 /// <param name="_kernel">Ninject Kernel</param>
 public NinjectServiceBehavior(IKernel _kernel)
 {
     InstanceProvider = new NinjectInstanceProvider(_kernel);
 }
 /// <summary>
 /// reate a new instance of NinjectServiceBehavior
 /// </summary>
 /// <param name="_kernel">Ninject Kernel</param>
 public NinjectServiceBehavior(IKernel _kernel)
 {
     InstanceProvider = new NinjectInstanceProvider(_kernel);
 }