IRecognize<T>.Matches(IMessageActivity, Object) Method

Definition

Return the matches found in the input.

public System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.FormFlow.Advanced.TermMatch> Matches (Microsoft.Bot.Connector.IMessageActivity input, object defaultValue = default);
abstract member Matches : Microsoft.Bot.Connector.IMessageActivity * obj -> seq<Microsoft.Bot.Builder.FormFlow.Advanced.TermMatch>
Public Function Matches (input As IMessageActivity, Optional defaultValue As Object = Nothing) As IEnumerable(Of TermMatch)

Parameters

input
IMessageActivity

The input activity being matched.

defaultValue
Object

The default value or null if none.

Returns

IEnumerable<TermMatch>

Match records.

Applies to