Partager via


Actions.When Méthode

Définition

Surcharges

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

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

Source:
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)

Paramètres de type

InnerScore

Paramètres

scorable
IScorable<IResolver,InnerScore>
regex
Regex

Retours

S’applique à

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

Source:
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)

Paramètres de type

InnerScore

Paramètres

scorable
IScorable<IResolver,InnerScore>
model
ILuisModel
service
ILuisService

Retours

S’applique à