DialogRouter 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 for Dialog module routing.
public sealed class DialogRouter : Microsoft.Bot.Builder.Scorables.Internals.DelegatingScorable<Microsoft.Bot.Connector.IActivity,double>
type DialogRouter = class
inherit DelegatingScorable<IActivity, double>
Public NotInheritable Class DialogRouter
Inherits DelegatingScorable(Of IActivity, Double)
- Inheritance
Constructors
DialogRouter(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>, ITraits<Double>, IComparer<Double>) |
Fields
inner | (Inherited from DelegatingScorable<Item,Score>) |
Methods
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>) |