protected override void Initialize() { App.Register(); BoardExtensions.Initialize(); _mouseComponent = DependencyInjection.Resolve<IMouseComponent>(); _mouseDrawer = DependencyInjection.Resolve<IMouseDrawer>(); _keyboardComponent = DependencyInjection.Resolve<IKeyboardComponent>(); _keyboardControl = DependencyInjection.Resolve<IKeyboardControl>(); base.Initialize(); }
protected override void Initialize() { App.Register(); BoardExtensions.Initialize(); _mouseComponent = DependencyInjection.Resolve <IMouseComponent>(); _mouseDrawer = DependencyInjection.Resolve <IMouseDrawer>(); _keyboardComponent = DependencyInjection.Resolve <IKeyboardComponent>(); _keyboardControl = DependencyInjection.Resolve <IKeyboardControl>(); base.Initialize(); }
public abstract void Create(IKeyboardControl parent);
public override void Create(IKeyboardControl parent) => parent.Create(this, Key);