TaskModules<TState> Class

Definition

TaskModules class to enable fluent style registration of handlers related to Task Modules.

public class TaskModules<TState> where TState : TurnState, new()
type TaskModules<'State (requires 'State :> TurnState and 'State : (new : unit -> 'State))> = class
Public Class TaskModules(Of TState)

Type Parameters

TState

The type of the turn state object used by the application.

Inheritance
TaskModules<TState>

Constructors

TaskModules<TState>(Application<TState>)

Creates a new instance of the TaskModules class.

Methods

OnFetch(MultipleRouteSelector, FetchHandlerAsync<TState>)

Registers a handler to process the initial fetch of the task module.

OnFetch(Regex, FetchHandlerAsync<TState>)

Registers a handler to process the initial fetch of the task module.

OnFetch(RouteSelectorAsync, FetchHandlerAsync<TState>)

Registers a handler to process the initial fetch of the task module.

OnFetch(String, FetchHandlerAsync<TState>)

Registers a handler to process the initial fetch of the task module.

OnSubmit(MultipleRouteSelector, SubmitHandlerAsync<TState>)

Registers a handler to process the submission of a task module.

OnSubmit(Regex, SubmitHandlerAsync<TState>)

Registers a handler to process the submission of a task module.

OnSubmit(RouteSelectorAsync, SubmitHandlerAsync<TState>)

Registers a handler to process the submission of a task module.

OnSubmit(String, SubmitHandlerAsync<TState>)

Registers a handler to process the submission of a task module.

Applies to