DelegateScorable Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- Inheritance
- Attributes
Constructors
DelegateScorable(Delegate) |
Properties
Method |
Methods
DoneAsync(IResolver, IBinding, CancellationToken) | (Inherited from MethodScorableBase) |
DoneAsync(Item, State, CancellationToken) | (Inherited from ScorableBase<Item,State,Score>) |
GetScore(IResolver, IBinding) | (Inherited from MethodScorableBase) |
GetScore(Item, State) | (Inherited from ScorableBase<Item,State,Score>) |
HasScore(IResolver, IBinding) | (Inherited from MethodScorableBase) |
HasScore(Item, State) | (Inherited from ScorableBase<Item,State,Score>) |
PostAsync(IResolver, IBinding, CancellationToken) | (Inherited from MethodScorableBase) |
PostAsync(Item, State, CancellationToken) | (Inherited from ScorableBase<Item,State,Score>) |
PrepareAsync(Item, CancellationToken) | (Inherited from ScorableBase<Item,State,Score>) |
ToString() | (Inherited from MethodScorableBase) |
Explicit Interface Implementations
Extension Methods
SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>) |
Project the item of a scorable using a lambda expression. |
SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>) |
Project the score of a scorable using a lambda expression. |
TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken) |
Invoke the scorable calling protocol against a single scorable. |
WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>) |