Compartilhar via


Actions.When Método

Definição

Sobrecargas

When<InnerScore>(IScorable<IResolver,InnerScore>, Regex)
When<InnerScore>(IScorable<IResolver,InnerScore>, ILuisModel, LuisIntentAttribute, ILuisService)

When<InnerScore>(IScorable<IResolver,InnerScore>, Regex)

Origem:
Actions.cs
public static Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver,System.Text.RegularExpressions.Match> When<InnerScore> (this Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver,InnerScore> scorable, System.Text.RegularExpressions.Regex regex);
static member When : Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver, 'InnerScore> * System.Text.RegularExpressions.Regex -> Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver, System.Text.RegularExpressions.Match>
<Extension()>
Public Function When(Of InnerScore) (scorable As IScorable(Of IResolver, InnerScore), regex As Regex) As IScorable(Of IResolver, Match)

Parâmetros de tipo

InnerScore

Parâmetros

scorable
IScorable<IResolver,InnerScore>
regex
Regex

Retornos

Aplica-se a

When<InnerScore>(IScorable<IResolver,InnerScore>, ILuisModel, LuisIntentAttribute, ILuisService)

Origem:
Actions.cs
public static Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver,Microsoft.Bot.Builder.Luis.Models.IntentRecommendation> When<InnerScore> (this Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver,InnerScore> scorable, Microsoft.Bot.Builder.Luis.ILuisModel model, Microsoft.Bot.Builder.Dialogs.LuisIntentAttribute intent, Microsoft.Bot.Builder.Luis.ILuisService service = default);
static member When : Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver, 'InnerScore> * Microsoft.Bot.Builder.Luis.ILuisModel * Microsoft.Bot.Builder.Dialogs.LuisIntentAttribute * Microsoft.Bot.Builder.Luis.ILuisService -> Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver, Microsoft.Bot.Builder.Luis.Models.IntentRecommendation>
<Extension()>
Public Function When(Of InnerScore) (scorable As IScorable(Of IResolver, InnerScore), model As ILuisModel, intent As LuisIntentAttribute, Optional service As ILuisService = Nothing) As IScorable(Of IResolver, IntentRecommendation)

Parâmetros de tipo

InnerScore

Parâmetros

scorable
IScorable<IResolver,InnerScore>
model
ILuisModel
service
ILuisService

Retornos

Aplica-se a