Пример #1
0
        private IPackageLookup GetPackageLookup()
        {
            var kernel = new LightweightKernel();

            kernel.BindAll();
            return(kernel.Get <IPackageLookup>());
        }
        private LightweightKernel GetKernel(bool noFeaturePropagation = false)
        {
            var kernel = new LightweightKernel();

            kernel.BindAll();
            return(kernel);
        }
Пример #3
0
 private IPackageLookup GetPackageLookup()
 {
     var kernel = new LightweightKernel();
     kernel.BindAll();
     return kernel.Get<IPackageLookup>();
 }