WhereScoreScorable<Item,Score> 类

定义

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

类型参数

Item
Score
继承
WhereScoreScorable<Item,Score>
属性

构造函数

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

字段

inner (继承自 DelegatingScorable<Item,Score>)

方法

DoneAsync(Item, Object, CancellationToken) (继承自 DelegatingScorable<Item,Score>)
GetScore(Item, Object) (继承自 DelegatingScorable<Item,Score>)
HasScore(Item, Object)
PostAsync(Item, Object, CancellationToken) (继承自 DelegatingScorable<Item,Score>)
PrepareAsync(Item, CancellationToken) (继承自 DelegatingScorable<Item,Score>)
ToString() (继承自 DelegatingScorable<Item,Score>)

扩展方法

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

使用 lambda 表达式投影可评分项。

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

使用 lambda 表达式投影可评分。

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

针对单个可评分调用调用协议。

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

适用于