Share via


PromptRecognizer.RecognizeChoices<T> Method

Definition

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>>
override this.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))

Type Parameters

T

Parameters

choicesDictionary
IReadOnlyDictionary<T,IReadOnlyList<T>>

Returns

Implements

Applies to