MethodScorableBase Class

Definition

[System.Serializable]
public abstract class MethodScorableBase : Microsoft.Bot.Builder.Scorables.Internals.ScorableBase<Microsoft.Bot.Builder.Scorables.Internals.IResolver,Microsoft.Bot.Builder.Scorables.Internals.IBinding,Microsoft.Bot.Builder.Scorables.Internals.IBinding>
[<System.Serializable>]
type MethodScorableBase = class
    inherit ScorableBase<IResolver, IBinding, IBinding>
Public MustInherit Class MethodScorableBase
Inherits ScorableBase(Of IResolver, IBinding, IBinding)
Inheritance
Derived
Attributes

Constructors

Name Description
MethodScorableBase()

Properties

Name Description
Method

Methods

Name Description
DoneAsync(IResolver, IBinding, CancellationToken)
DoneAsync(Item, State, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
GetScore(IResolver, IBinding)
GetScore(Item, State) (Inherited from ScorableBase<Item,State,Score>)
HasScore(IResolver, IBinding)
HasScore(Item, State) (Inherited from ScorableBase<Item,State,Score>)
PostAsync(IResolver, IBinding, CancellationToken)
PostAsync(Item, State, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
PrepareAsync(Item, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
ToString()

Explicit Interface Implementations

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

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