コード例 #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();
 }
コード例 #2
0
ファイル: BootStrapper.cs プロジェクト: jansaris/KinectV2
 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();
 }