Sprache

DelegateScorable Klasse

Definition

[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

Name Beschreibung
DelegateScorable(Delegate)

Eigenschaften

Name Beschreibung
Method

Methoden

Name Beschreibung
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

Name Beschreibung
IScorable<Item,Score>.DoneAsync(Item, Object, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.GetScore(Item, Object) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.HasScore(Item, Object) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PostAsync(Item, Object, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PrepareAsync(Item, CancellationToken) (Geerbt von ScorableBase<Item,State,Score>)

Erweiterungsmethoden

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

Project das Element eines Scorables mit einem Lambda-Ausdruck.

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

Project die Punktzahl eines Scorbaren mit einem Lambda-Ausdruck.

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

Rufe das Scorable Call-Protokoll gegen einen einzelnen Scorable auf.

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

Gilt für: