public static void BootUp() { Kernel.Bind <IKinectStatus>().To(typeof(KinectManager)).InSingletonScope(); Kernel.Bind <IGestureDetector>().To(typeof(KinectManager)).InSingletonScope(); Kernel.Bind <IGestures>().To(typeof(GestureFactory)).InSingletonScope(); _manager = new SlideShowManager(); }
public static void BootUp() { Kernel.Bind<IKinectStatus>().To(typeof (KinectManager)).InSingletonScope(); Kernel.Bind<IGestureDetector>().To(typeof(KinectManager)).InSingletonScope(); Kernel.Bind<IGestures>().To(typeof (GestureFactory)).InSingletonScope(); _manager = new SlideShowManager(); }