Compartilhar via


ResolverScorable<OuterState,OuterScore,InnerState,InnerScore> Classe

Definição

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

Parâmetros de tipo

OuterState
OuterScore
InnerState
InnerScore
Herança
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<IResolver,OuterState,OuterScore,IResolver,InnerState,InnerScore>
ResolverScorable<OuterState,OuterScore,InnerState,InnerScore>
Derivado
Atributos

Construtores

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

Campos

inner

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