DelegateScorable Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
[System.Serializable]
public sealed class DelegateScorable : Microsoft.Bot.Builder.Scorables.Internals.MethodScorableBase
[<System.Serializable>]
type DelegateScorable = class
inherit MethodScorableBase
Public NotInheritable Class DelegateScorable
Inherits MethodScorableBase
- Vererbung
- Attribute
Konstruktoren
DelegateScorable(Delegate) |
Eigenschaften
Method |
Methoden
DoneAsync(IResolver, IBinding, CancellationToken) | (Geerbt von MethodScorableBase) |
DoneAsync(Item, State, CancellationToken) | (Geerbt von ScorableBase<Item,State,Score>) |
GetScore(IResolver, IBinding) | (Geerbt von MethodScorableBase) |
GetScore(Item, State) | (Geerbt von ScorableBase<Item,State,Score>) |
HasScore(IResolver, IBinding) | (Geerbt von MethodScorableBase) |
HasScore(Item, State) | (Geerbt von ScorableBase<Item,State,Score>) |
PostAsync(IResolver, IBinding, CancellationToken) | (Geerbt von MethodScorableBase) |
PostAsync(Item, State, CancellationToken) | (Geerbt von ScorableBase<Item,State,Score>) |
PrepareAsync(Item, CancellationToken) | (Geerbt von ScorableBase<Item,State,Score>) |
ToString() | (Geerbt von MethodScorableBase) |
Explizite Schnittstellenimplementierungen
Erweiterungsmethoden
SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>) |
Projizieren Sie das Element eines Scorables mithilfe eines Lambdaausdrucks. |
SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>) |
Projizieren Sie die Bewertung eines Bewertbaren mithilfe eines Lambdaausdrucks. |
TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken) |
Rufen Sie das scorable-Aufrufprotokoll für ein einzelnes Scorable auf. |
WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>) |