Partager via


IPromptRecognizer.RecognizeChoices<T> Méthode

Définition

Module de reconnaissance pour un nombre.

public System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.RecognizeEntity<T>> RecognizeChoices<T> (Microsoft.Bot.Connector.IMessageActivity message, System.Collections.Generic.IReadOnlyDictionary<T,System.Collections.Generic.IReadOnlyList<T>> choicesDictionary, Microsoft.Bot.Builder.Dialogs.IPromptRecognizeChoicesOptions options = default);
abstract member RecognizeChoices : Microsoft.Bot.Connector.IMessageActivity * System.Collections.Generic.IReadOnlyDictionary<'T, System.Collections.Generic.IReadOnlyList<'T>> * Microsoft.Bot.Builder.Dialogs.IPromptRecognizeChoicesOptions -> seq<Microsoft.Bot.Builder.Dialogs.RecognizeEntity<'T>>
Public Function RecognizeChoices(Of T) (message As IMessageActivity, choicesDictionary As IReadOnlyDictionary(Of T, IReadOnlyList(Of T)), Optional options As IPromptRecognizeChoicesOptions = Nothing) As IEnumerable(Of RecognizeEntity(Of T))

Paramètres de type

T

Paramètres

message
IMessageActivity

Contexte du message.

choicesDictionary
IReadOnlyDictionary<T,IReadOnlyList<T>>

Dictionnaire avec les options à choisir comme clé et leurs synonymes en tant que valeur.

options
IPromptRecognizeChoicesOptions

Options du module de reconnaissance. IPromptRecognizeChoicesOptions

Retours

S’applique à