Share via


SelectScoreScorable<Item,SourceScore,TargetScore> Class

Definition

[System.Serializable]
public sealed class SelectScoreScorable<Item,SourceScore,TargetScore> : Microsoft.Bot.Builder.Scorables.Internals.DelegatingScorable<Item,SourceScore>, Microsoft.Bot.Builder.Scorables.IScorable<Item,TargetScore>
[<System.Serializable>]
type SelectScoreScorable<'Item, 'SourceScore, 'argetScore> = class
    inherit DelegatingScorable<'Item, 'SourceScore>
    interface IScorable<'Item, 'argetScore>
Public NotInheritable Class SelectScoreScorable(Of Item, SourceScore, TargetScore)
Inherits DelegatingScorable(Of Item, SourceScore)
Implements IScorable(Of Item, TargetScore)

Type Parameters

Item
SourceScore
TargetScore
Inheritance
DelegatingScorable<Item,SourceScore>
SelectScoreScorable<Item,SourceScore,TargetScore>
Attributes
Implements
IScorable<Item,TargetScore>

Constructors

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

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) (Inherited from DelegatingScorable<Item,Score>)
PostAsync(Item, Object, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
PrepareAsync(Item, CancellationToken) (Inherited from DelegatingScorable<Item,Score>)
ToString() (Inherited from DelegatingScorable<Item,Score>)

Explicit Interface Implementations

IScorable<Item,TargetScore>.GetScore(Item, Object)

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