Share via


WhereScoreScorable<Item,Score> Class

Definition

[System.Serializable]
public sealed class WhereScoreScorable<Item,Score> : Microsoft.Bot.Builder.Scorables.Internals.DelegatingScorable<Item,Score>
[<System.Serializable>]
type WhereScoreScorable<'Item, 'Score> = class
    inherit DelegatingScorable<'Item, 'Score>
Public NotInheritable Class WhereScoreScorable(Of Item, Score)
Inherits DelegatingScorable(Of Item, Score)

Type Parameters

Item
Score
Inheritance
WhereScoreScorable<Item,Score>
Attributes

Constructors

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

Fields

inner (Inherited from DelegatingScorable<Item,Score>)

Methods

DoneAsync(Item, Object, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
GetScore(Item, Object) (Inherited from DelegatingScorable<Item,Score>)
HasScore(Item, Object)
PostAsync(Item, Object, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
PrepareAsync(Item, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
ToString() (Inherited from DelegatingScorable<Item,Score>)

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