Språk

DialogRouter Klass

Definition

Poängbar för Dialogmodul-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)
Arv

Konstruktorer

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

Poängbar för Dialogmodul-routing.

Fält

Name Description
inner

Poängbar för Dialogmodul-routing.

(Ärvd från DelegatingScorable<Item,Score>)

Metoder

Name Description
DoneAsync(Item, Object, CancellationToken)

Poängbar för Dialogmodul-routing.

(Ärvd från DelegatingScorable<Item,Score>)
EnumerateRelevant(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>)

Poängbar för Dialogmodul-routing.

GetScore(Item, Object)

Poängbar för Dialogmodul-routing.

(Ärvd från DelegatingScorable<Item,Score>)
HasScore(Item, Object)

Poängbar för Dialogmodul-routing.

(Ärvd från DelegatingScorable<Item,Score>)
MakeDelegate(IDialogStack, IEnumerable<IScorable<IActivity,Double>>, IEnumerable<IScorable<IResolver,Double>>, Func<IActivity,IResolver>, ITraits<Double>, IComparer<Double>)

Poängbar för Dialogmodul-routing.

PostAsync(Item, Object, CancellationToken)

Poängbar för Dialogmodul-routing.

(Ärvd från DelegatingScorable<Item,Score>)
PrepareAsync(Item, CancellationToken)

Poängbar för Dialogmodul-routing.

(Ärvd från DelegatingScorable<Item,Score>)
ToString()

Poängbar för Dialogmodul-routing.

(Ärvd från DelegatingScorable<Item,Score>)

Tilläggsmetoder

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

Project objektet i en poängbar med hjälp av ett lambda-uttryck.

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

Project poängen för en poängbar med hjälp av ett lambda-uttryck.

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

Anropa protokollet för poängbar anrop mot en enda poängbar.

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

Poängbar för Dialogmodul-routing.

Gäller för