다음을 통해 공유


Actions.When 메서드

정의

오버로드

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)

형식 매개 변수

InnerScore

매개 변수

scorable
IScorable<IResolver,InnerScore>
regex
Regex

반환

적용 대상

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)

형식 매개 변수

InnerScore

매개 변수

scorable
IScorable<IResolver,InnerScore>
model
ILuisModel
service
ILuisService

반환

적용 대상