Actions.When Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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
- model
- ILuisModel
- intent
- LuisIntentAttribute
- service
- ILuisService