Freigeben über


DelegatingScorable<Item,Score> Klasse

Definition

[System.Serializable]
public abstract class DelegatingScorable<Item,Score> : Microsoft.Bot.Builder.Scorables.IScorable<Item,Score>
[<System.Serializable>]
type DelegatingScorable<'Item, 'Score> = class
    interface IScorable<'Item, 'Score>
Public MustInherit Class DelegatingScorable(Of Item, Score)
Implements IScorable(Of Item, Score)

Typparameter

Item
Score
Vererbung
DelegatingScorable<Item,Score>
Abgeleitet
Attribute
Implementiert

Konstruktoren

DelegatingScorable<Item,Score>(IScorable<Item,Score>)

Felder

inner

Methoden

DoneAsync(Item, Object, CancellationToken)
GetScore(Item, Object)
HasScore(Item, Object)
PostAsync(Item, Object, CancellationToken)
PrepareAsync(Item, CancellationToken)
ToString()

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

Gilt für: