public static void Register() { if (_registered) return; _registered = true; var keyboardControl = new KeyboardControl(); DependencyInjection.Register((IKeyboardComponent)keyboardControl); DependencyInjection.Register((IKeyboardControl)keyboardControl); }
public static void Register() { if (_registered) { return; } _registered = true; var keyboardControl = new KeyboardControl(); DependencyInjection.Register((IKeyboardComponent)keyboardControl); DependencyInjection.Register((IKeyboardControl)keyboardControl); }