Chain.WithScorable<T,Item,Score> Methode

Definition

Dekoriere einen Dialog mit einer Wertzahl, damit eine Wertende am Dialogstapel teilnehmen kann.

public static Microsoft.Bot.Builder.Dialogs.IDialog<T> WithScorable<T,Item,Score>(this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, Microsoft.Bot.Builder.Scorables.IScorable<Item,Score> scorable);
static member WithScorable : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Microsoft.Bot.Builder.Scorables.IScorable<'Item, 'Score> -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
<Extension()>
Public Function WithScorable(Of T, Item, Score) (antecedent As IDialog(Of T), scorable As IScorable(Of Item, Score)) As IDialog(Of T)

Typparameter

T

Die Art des Dialogs.

Item

Der Typ des Gegenstands, der vom Wertbaren bewertet wird.

Score

Die Art des Scopes, die vom Scorable erzeugt werden.

Parameter

antecedent
IDialog<T>

Der vorausgehende Dialog.

scorable
IScorable<Item,Score>

Der Scoring-fähige.

Gibt zurück

IDialog<T>

Der Dialog wurde mit den Scorables ergänzt.

Gilt für: