Share via


DelegatingScorable<Item,Score> Class

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)

Type Parameters

Item
Score
Inheritance
DelegatingScorable<Item,Score>
Derived
Attributes
Implements

Constructors

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

Fields

inner

Methods

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

Extension Methods

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

Project the item of a scorable using a lambda expression.

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

Project the score of a scorable using a lambda expression.

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

Invoke the scorable calling protocol against a single scorable.

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

Applies to