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); }
private IPackageLookup GetPackageLookup() { var kernel = new LightweightKernel(); kernel.BindAll(); return kernel.Get<IPackageLookup>(); }