TaskModules<TState> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |