ActionId
Namespace: Hex1b.Input
Assembly: Hex1b.dll
A strongly typed identifier for a rebindable action. Used to tag keybindings so they can be referenced by action rather than by key.
csharp
public readonly record struct ActionId : IEquatable<ActionId>Implements
Constructors
ActionId(string)
A strongly typed identifier for a rebindable action. Used to tag keybindings so they can be referenced by action rather than by key.
Parameters:
Value(String): The identifier string. Convention: "WidgetName.ActionName" in PascalCase (e.g., "List.MoveUp", "TextBox.DeleteBackward", "Button.Activate").
csharp
public ActionId(string Value)Properties
Value
The identifier string. Convention: "WidgetName.ActionName" in PascalCase (e.g., "List.MoveUp", "TextBox.DeleteBackward", "Button.Activate").
Returns: String
csharp
public string Value { get; init; }Methods
ToString()
Returns the fully qualified type name of this instance.
Returns: String
The fully qualified type name.
csharp
public override string ToString()