Share via


DelegateScorable Class

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

IScorable<Item,Score>.DoneAsync(Item, Object, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.GetScore(Item, Object) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.HasScore(Item, Object) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PostAsync(Item, Object, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PrepareAsync(Item, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)

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

Applies to