PromptRecognizer.RecognizeChoices<T> Method
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.
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
- message
- IMessageActivity
- choicesDictionary
- IReadOnlyDictionary<T,IReadOnlyList<T>>
- options
- IPromptRecognizeChoicesOptions