void consoleListener_InteractionHandled(object sender, InteractionEventArgs e) { lock (_interaction) { _interaction = e.interaction; _interactionHappened = true; getInput.Set(); } }
protected virtual void OnInteractionHandled(InteractionEventArgs e) { if (InteractionHandled != null) InteractionHandled(this, e); }