Compartilhar via


Actions.WhereScorable<Score> Classe

Definição

[System.Serializable]
public sealed class Actions.WhereScorable<Score> : Microsoft.Bot.Builder.Scorables.Internals.ScorableAggregator<Microsoft.Bot.Builder.Scorables.Internals.IResolver,Microsoft.Bot.Builder.Scorables.Actions.WhereScorable<Score>.Token,Score,Microsoft.Bot.Builder.Scorables.Internals.IResolver,object,Score>
[<System.Serializable>]
type Actions.WhereScorable<'Score> = class
    inherit ScorableAggregator<IResolver, Actions.WhereScorable<'Score>.Token, 'Score, IResolver, obj, 'Score>
Public NotInheritable Class Actions.WhereScorable(Of Score)
Inherits ScorableAggregator(Of IResolver, Actions.WhereScorable(Of Score).Token, Score, IResolver, Object, Score)

Parâmetros de tipo

Score
Herança
ScorableBase<OuterItem,OuterState,OuterScore>
Actions.WhereScorable<Score>
Atributos

Construtores

Actions.WhereScorable<Score>(IScorable<IResolver,Score>, Delegate)

Métodos

DoneAsync(OuterItem, OuterState, CancellationToken) (Herdado de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
GetScore(Item, State) (Herdado de ScorableBase<Item,State,Score>)
HasScore(OuterItem, OuterState) (Herdado de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PostAsync(OuterItem, OuterState, CancellationToken) (Herdado de ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PrepareAsync(Item, CancellationToken) (Herdado de ScorableBase<Item,State,Score>)

Implantações explícitas de interface

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 de Extensão

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

Projecione o item de um escorável usando uma expressão lambda.

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

Projecione a pontuação de um escorável usando uma expressão lambda.

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

Invoque o protocolo de chamada ecorável em um único escorável.

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

Aplica-se a