DialogRouter Klasse

Definition

Wertbar für das Routing von Dialogmodulen.

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

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

Wertbar für das Routing von Dialogmodulen.

Felder

Name Beschreibung
inner

Wertbar für das Routing von Dialogmodulen.

(Geerbt von DelegatingScorable<Item,Score>)

Methoden

Name Beschreibung
DoneAsync(Item, Object, CancellationToken)

Wertbar für das Routing von Dialogmodulen.

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

Wertbar für das Routing von Dialogmodulen.

GetScore(Item, Object)

Wertbar für das Routing von Dialogmodulen.

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

Wertbar für das Routing von Dialogmodulen.

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

Wertbar für das Routing von Dialogmodulen.

PostAsync(Item, Object, CancellationToken)

Wertbar für das Routing von Dialogmodulen.

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

Wertbar für das Routing von Dialogmodulen.

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

Wertbar für das Routing von Dialogmodulen.

(Geerbt von DelegatingScorable<Item,Score>)

Erweiterungsmethoden

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

Project das Element eines Scorables mit einem Lambda-Ausdruck.

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

Project die Punktzahl eines Scorbaren mit einem Lambda-Ausdruck.

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

Rufe das Scorable Call-Protokoll gegen einen einzelnen Scorable auf.

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

Wertbar für das Routing von Dialogmodulen.

Gilt für: