public IDependencyScope BeginScope()
 {
     NinjectScope ns = new NinjectScope(_kernel.BeginBlock());
     return (IDependencyScope)ns;
 }
示例#2
0
        public IDependencyScope BeginScope()
        {
            NinjectScope ns = new NinjectScope(_kernel.BeginBlock());

            return((IDependencyScope)ns);
        }