Esempio n. 1
0
        public static void Register()
        {
            if (_registered) return;
            _registered = true;

            var keyboardControl = new KeyboardControl();

            DependencyInjection.Register((IKeyboardComponent)keyboardControl);
            DependencyInjection.Register((IKeyboardControl)keyboardControl);
        }
Esempio n. 2
0
        public static void Register()
        {
            if (_registered)
            {
                return;
            }
            _registered = true;

            var keyboardControl = new KeyboardControl();

            DependencyInjection.Register((IKeyboardComponent)keyboardControl);
            DependencyInjection.Register((IKeyboardControl)keyboardControl);
        }