IPromptRecognizer.RecognizeChoices<T> Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Recognizer för ett nummer.
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))
Typparametrar
- T
Parametrar
- message
- IMessageActivity
Meddelandets kontext.
- choicesDictionary
- IReadOnlyDictionary<T,IReadOnlyList<T>>
Ordbok med valmöjligheter som nyckel och deras synonymer som värde.
- options
- IPromptRecognizeChoicesOptions
Alternativ för Recognizer. IPromptRecognizeChoicesOptions