次の方法で共有


ScorableBase<Item,State,Score> クラス

定義

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

[System.Serializable]
public abstract class ScorableBase<Item,State,Score> : Microsoft.Bot.Builder.Scorables.IScorable<Item,Score>
[<System.Serializable>]
type ScorableBase<'Item, 'State, 'Score> = class
    interface IScorable<'Item, 'Score>
Public MustInherit Class ScorableBase(Of Item, State, Score)
Implements IScorable(Of Item, Score)

型パラメーター

Item
State
Score
継承
ScorableBase<Item,State,Score>
派生
属性
実装

注釈

IScorable メソッドは DebuggerStepThrough でマークされます。これは、抽象 State 型のメソッドを実装する派生クラスの型の安全性をコンパイラが検証すると、これらの DebuggerStepThrough メソッドはランタイム型エラーのために例外をスローしないためです。

コンストラクター

ScorableBase<Item,State,Score>()

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

メソッド

DoneAsync(Item, State, CancellationToken)

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

GetScore(Item, State)

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

HasScore(Item, State)

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

PostAsync(Item, State, CancellationToken)

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

PrepareAsync(Item, CancellationToken)

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

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

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

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

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

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

IScorable<Item,Score>.HasScore(Item, Object)

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

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

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

IScorable<Item,Score>.PrepareAsync(Item, CancellationToken)

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

拡張メソッド

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

スコアリング可能な実装の利便性のために、不透明な状態の静的な型チェックを許可します。

適用対象