Actions.When 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.
Overloads
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)
Type Parameters
- InnerScore
Parameters
- regex
- Regex
Returns
Applies to
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)
Type Parameters
- InnerScore
Parameters
- model
- ILuisModel
- intent
- LuisIntentAttribute
- service
- ILuisService