Partager via


Actions.WhereScorable<Score> Classe

Définition

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

Paramètres de type

Score
Héritage
ScorableBase<OuterItem,OuterState,OuterScore>
Actions.WhereScorable<Score>
Attributs

Constructeurs

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

Méthodes

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

Implémentations d’interfaces explicites

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

Méthodes d’extension

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

Projetez l’élément d’un scorable à l’aide d’une expression lambda.

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

Projetez le score d’un scorable à l’aide d’une expression lambda.

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

Appelez le protocole d’appel scorable sur un seul scorable.

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

S’applique à