DialogRouter Class

Definition

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

DoneAsync(Item, Object, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
EnumerateRelevant(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>)
GetScore(Item, Object) (Inherited from DelegatingScorable<Item,Score>)
HasScore(Item, Object) (Inherited from DelegatingScorable<Item,Score>)
MakeDelegate(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>, ITraits<Double>, IComparer<Double>)
PostAsync(Item, Object, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
PrepareAsync(Item, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
ToString() (Inherited from DelegatingScorable<Item,Score>)

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>)

Applies to