/// <summary> /// Creates a new Instance of th Ninject Resolver by loading Modules /// from the Assembly Supplied /// </summary> /// <param name="assembly">Assembly to Load Modules</param> public NinjectResolver(Assembly assembly) { Kernel = NinjectKernel.GetKernel(); Kernel.Load(assembly); }
/// <summary> /// Creates a new Instance of th Ninject Resolver with the modules Supplied /// </summary> /// <param name="modules">Modules to Load</param> public NinjectResolver() { Kernel = NinjectKernel.GetKernel(); }