CharacterStepBuilder
Namespace: Hex1b.Input
Assembly: Hex1b.dll
Fluent builder for constructing character/text bindings.
csharp
public sealed class CharacterStepBuilderInheritance
Object → CharacterStepBuilder
Methods
Action(Action<string>, string?)
Completes the binding with the given action handler that receives the text.
Parameters:
handler(Action<String>):description(String):
csharp
public void Action(Action<string> handler, string? description = null)Action(Func<string, InputBindingActionContext, Task>, string?)
Completes the binding with the given async action handler that receives the text and context.
Parameters:
handler(Func<String, InputBindingActionContext, Task>):description(String):
csharp
public void Action(Func<string, InputBindingActionContext, Task> handler, string? description = null)