Exemple #1
0
 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();
 }
Exemple #2
0
 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();
 }