Partager via


ResolverScorable<OuterState,OuterScore,InnerState,InnerScore> Classe

Définition

[System.Serializable]
public abstract class ResolverScorable<OuterState,OuterScore,InnerState,InnerScore> : Microsoft.Bot.Builder.Scorables.Internals.ScorableAggregator<Microsoft.Bot.Builder.Scorables.Internals.IResolver,OuterState,OuterScore,Microsoft.Bot.Builder.Scorables.Internals.IResolver,InnerState,InnerScore> where OuterState : ResolverScope<InnerScore>
[<System.Serializable>]
type ResolverScorable<'OuterState, 'OuterScore, 'InnerState, 'InnerScore (requires 'OuterState :> ResolverScope<'InnerScore>)> = class
    inherit ScorableAggregator<IResolver, 'OuterState, 'OuterScore, IResolver, 'InnerState, 'InnerScore (requires 'OuterState :> ResolverScope<'InnerScore>)>
Public MustInherit Class ResolverScorable(Of OuterState, OuterScore, InnerState, InnerScore)
Inherits ScorableAggregator(Of IResolver, OuterState, OuterScore, IResolver, InnerState, InnerScore)

Paramètres de type

OuterState
OuterScore
InnerState
InnerScore
Héritage
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<IResolver,OuterState,OuterScore,IResolver,InnerState,InnerScore>
ResolverScorable<OuterState,OuterScore,InnerState,InnerScore>
Dérivé
Attributs

Constructeurs

ResolverScorable<OuterState,OuterScore,InnerState,InnerScore>(IScorable<IResolver,InnerScore>)

Champs

inner

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 à