Partilhar via


DelegateScorable Classe

Definição

[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
Herança
Atributos

Construtores

DelegateScorable(Delegate)

Propriedades

Method

Métodos

DoneAsync(IResolver, IBinding, CancellationToken) (Herdado de MethodScorableBase)
DoneAsync(Item, State, CancellationToken) (Herdado de ScorableBase<Item,State,Score>)
GetScore(IResolver, IBinding) (Herdado de MethodScorableBase)
GetScore(Item, State) (Herdado de ScorableBase<Item,State,Score>)
HasScore(IResolver, IBinding) (Herdado de MethodScorableBase)
HasScore(Item, State) (Herdado de ScorableBase<Item,State,Score>)
PostAsync(IResolver, IBinding, CancellationToken) (Herdado de MethodScorableBase)
PostAsync(Item, State, CancellationToken) (Herdado de ScorableBase<Item,State,Score>)
PrepareAsync(Item, CancellationToken) (Herdado de ScorableBase<Item,State,Score>)
ToString() (Herdado de MethodScorableBase)

Implementações de Interface Explícita

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

Métodos da Extensão

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

Projete o item de um scorable com uma expressão lambda.

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

Projetar a classificação de um scorable com uma expressão lambda.

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

Invoque o protocolo de chamadacorável num único scorable.

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

Aplica-se a