RegexMatchScorable<InnerState,InnerScore> Class
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.
Scorable to represent a regular expression match against an activity's text.
[System.Serializable]
public sealed class RegexMatchScorable<InnerState,InnerScore> : Microsoft.Bot.Builder.Scorables.Internals.ResolverScorable<Microsoft.Bot.Builder.Scorables.Internals.RegexMatchScorable<InnerState,InnerScore>.Scope,System.Text.RegularExpressions.Match,InnerState,InnerScore>
[<System.Serializable>]
type RegexMatchScorable<'InnerState, 'InnerScore> = class
inherit ResolverScorable<RegexMatchScorable<'InnerState, 'InnerScore>.Scope, Match, 'InnerState, 'InnerScore>
Public NotInheritable Class RegexMatchScorable(Of InnerState, InnerScore)
Inherits ResolverScorable(Of RegexMatchScorable(Of InnerState, InnerScore).Scope, Match, InnerState, InnerScore)
Type Parameters
- InnerState
- InnerScore
- Inheritance
-
ScorableBase<OuterItem,OuterState,OuterScore>RegexMatchScorable<InnerState,InnerScore>
- Attributes
Constructors
RegexMatchScorable<InnerState,InnerScore>(Regex, IScorable<IResolver,InnerScore>) |
Fields
inner | (Inherited from ResolverScorable<OuterState,OuterScore,InnerState,InnerScore>) |
Methods
Explicit Interface Implementations
Extension Methods
SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>) |
Project the item of a scorable using a lambda expression. |
SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>) |
Project the score of a scorable using a lambda expression. |
TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken) |
Invoke the scorable calling protocol against a single scorable. |
WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>) |