Scorable 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public static class Scorable
type Scorable = class
Public Module Scorable
- 繼承
-
Scorable
方法
| 名稱 | Description |
|---|---|
| First<Item,Score>(IEnumerable<IScorable<Item,Score>>) |
選擇第一個能產生分數的分數。 |
| Fold<Item,Score>(IEnumerable<IScorable<Item,Score>>, IComparer<Score>, FoldScorable<Item,Score>.OnStageDelegate) |
用分數比較器對可得分的列舉進行折疊。 |
| Keep<Item,Score>(IScorable<Item,Score>) |
若可得分非零,則為真;否則為假。 |
| SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>) |
Project 評分項目使用 lambda 表達式。 |
| SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>) |
Project 使用 lambda 運算式來預測可評分的分數。 |
| TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken) |
對單一可評分的呼叫協議執行可評分協議。 |
| TryReduce<Item,Score>(IEnumerable<IScorable<Item,Score>>, IScorable<Item,Score>) |
試著簡化一份可評分的清單。 |
| WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>) | |