IPrompt<T> Interface

Definition

Interface for a prompt and its associated recognizer.

public interface IPrompt<T> where T : class
type IPrompt<'T (requires 'T : null)> = interface
Public Interface IPrompt(Of T)

Type Parameters

T

Form state.

Derived

Remarks

This interface allows taking a \ref patterns expression and making it into a string with the template parts filled in.

Properties

Annotation

Description of the prompt and how to generate it.

Recognizer

Associated recognizer if any.

Methods

Prompt(T, IField<T>, Object[])

Return prompt to send to user.

Applies to