次の方法で共有


FoldScorable<Item,Score> クラス

定義

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

public abstract class FoldScorable<Item,Score> : Microsoft.Bot.Builder.Scorables.Internals.ScorableBase<Item,System.Collections.Generic.IReadOnlyList<Microsoft.Bot.Builder.Scorables.Internals.FoldScorable<Item,Score>.State>,Score>
type FoldScorable<'Item, 'Score> = class
    inherit ScorableBase<'Item, IReadOnlyList<FoldScorable<'Item, 'Score>.State>, 'Score>
Public MustInherit Class FoldScorable(Of Item, Score)
Inherits ScorableBase(Of Item, IReadOnlyList(Of FoldScorable(Of Item, Score).State), Score)

型パラメーター

Item
Score
継承
ScorableBase<Item,IReadOnlyList<FoldScorable<Item,Score>.State>,Score>
FoldScorable<Item,Score>
派生

注釈

"reduce、accumulate、aggregate、compress、または inject" と呼ばれるフォールド https://en.wikipedia.org/wiki/Fold_(higher-order_function)

コンストラクター

FoldScorable<Item,Score>(IComparer<Score>, IEnumerable<IScorable<Item,Score>>)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

フィールド

comparer

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

scorables

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

プロパティ

OnStage

折りたたみスコア可能ステージのイベント ハンドラー。

メソッド

DoneAsync(Item, IReadOnlyList<FoldScorable<Item,Score>.State>, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

DoneAsync(Item, State, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
GetScore(Item, IReadOnlyList<FoldScorable<Item,Score>.State>)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

GetScore(Item, State)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
HasScore(Item, IReadOnlyList<FoldScorable<Item,Score>.State>)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

HasScore(Item, State)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
PostAsync(Item, IReadOnlyList<FoldScorable<Item,Score>.State>, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

PostAsync(Item, State, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
PrepareAsync(Item, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

明示的なインターフェイスの実装

IScorable<Item,Score>.DoneAsync(Item, Object, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.GetScore(Item, Object)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.HasScore(Item, Object)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PostAsync(Item, Object, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PrepareAsync(Item, CancellationToken)

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

(継承元 ScorableBase<Item,State,Score>)

拡張メソッド

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

ラムダ式を使用して、スコアリング可能な項目を投影します。

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

ラムダ式を使用して、スコア可能なスコアを投影します。

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

1 つのスコアリング可能に対してスコアリング可能な呼び出しプロトコルを呼び出します。

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

スコアブルの集計をフォールドして、勝利スコアリングを生成します。

適用対象