Freigeben über


DialogRouter Klasse

Definition

Scorable für das Routing des Dialogmoduls.

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

Konstruktoren

DialogRouter(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>, ITraits<Double>, IComparer<Double>)

Scorable für das Routing des Dialogmoduls.

Felder

inner

Scorable für das Routing des Dialogmoduls.

(Geerbt von DelegatingScorable<Item,Score>)

Methoden

DoneAsync(Item, Object, CancellationToken)

Scorable für das Routing des Dialogmoduls.

(Geerbt von DelegatingScorable<Item,Score>)
EnumerateRelevant(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>)

Scorable für das Routing des Dialogmoduls.

GetScore(Item, Object)

Scorable für das Routing des Dialogmoduls.

(Geerbt von DelegatingScorable<Item,Score>)
HasScore(Item, Object)

Scorable für das Routing des Dialogmoduls.

(Geerbt von DelegatingScorable<Item,Score>)
MakeDelegate(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>, ITraits<Double>, IComparer<Double>)

Scorable für das Routing des Dialogmoduls.

PostAsync(Item, Object, CancellationToken)

Scorable für das Routing des Dialogmoduls.

(Geerbt von DelegatingScorable<Item,Score>)
PrepareAsync(Item, CancellationToken)

Scorable für das Routing des Dialogmoduls.

(Geerbt von DelegatingScorable<Item,Score>)
ToString()

Scorable für das Routing des Dialogmoduls.

(Geerbt von DelegatingScorable<Item,Score>)

Erweiterungsmethoden

SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>)

Projizieren Sie das Element einer Scorable mithilfe eines Lambdaausdrucks.

SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>)

Projizieren Sie die Bewertung eines Scorables mithilfe eines Lambdaausdrucks.

TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken)

Rufen Sie das Scorable-Aufrufprotokoll für ein einzelnes Scorable auf.

WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>)

Scorable für das Routing des Dialogmoduls.

Gilt für: