Method Keyboard
Keyboard(string, Key, string, string?, string)
Traces a keyboard event at the Driver or Application level (no view context).
[Conditional("DEBUG")]
public static void Keyboard(string source, Key key, string phase, string? message = null, string method = "")
Parameters
sourcestringIdentifying string for the source (e.g., "Driver", "Application").
keyKeyThe key being processed.
phasestringThe phase of processing.
messagestringOptional additional context.
methodstringAutomatically captured caller method name.
Keyboard(View, Key, string, string?, string)
Traces a keyboard event at the View level.
[Conditional("DEBUG")]
public static void Keyboard(View view, Key key, string phase, string? message = null, string method = "")
Parameters
viewViewThe view processing the keyboard event.
keyKeyThe key being processed.
phasestringThe phase of processing.
messagestringOptional additional context.
methodstringAutomatically captured caller method name.
Keyboard(PlatformKeyBinding, string, string?, string)
Traces a keyboard binding event.
[Conditional("DEBUG")]
public static void Keyboard(PlatformKeyBinding binding, string phase, string? message = null, string method = "")
Parameters
bindingPlatformKeyBindingThe keyboard binding being processed.
phasestringThe phase of processing.
messagestringOptional additional context.
methodstringAutomatically captured caller method name.