/// <summary> /// Gathers argument data and redirects the notification event further. /// </summary> /// <param name="sender">The sender object of the notification event.</param> /// <param name="e">The notification event argument, i.e. the number of characters from the start to the cursor</param> private void CursorPosition_Changed(object sender, CursorPositionChangeArgs e) { Console.WriteLine("#DEBUG: The notification has been received by the CursorPositionChangeBroadcastService."); OnCursorPositionChanged?.Invoke(this, e); }
protected void InvokeOnCursorPositionChanged(Vector2 position) { OnCursorPositionChanged?.Invoke(position); }