MethodScorable Class

Definition

Scorable to represent binding arguments to a method's parameters.

[System.Serializable]
public sealed class MethodScorable : Microsoft.Bot.Builder.Scorables.Internals.MethodScorableBase
[<System.Serializable>]
type MethodScorable = class
    inherit MethodScorableBase
Public NotInheritable Class MethodScorable
Inherits MethodScorableBase
Inheritance
Attributes

Constructors

MethodScorable(MethodInfo)

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