Skip to content

CharacterStepBuilder

Namespace: Hex1b.Input

Assembly: Hex1b.dll

Fluent builder for constructing character/text bindings.

csharp
public sealed class CharacterStepBuilder

Inheritance

ObjectCharacterStepBuilder

Methods

Action(Action<string>, string?)

Completes the binding with the given action handler that receives the text.

Parameters:

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:

csharp
public void Action(Func<string, InputBindingActionContext, Task> handler, string? description = null)

Released under the MIT License.