Partilhar 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 Genérico

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

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

Projecte o item de uma correção com uma expressão lambda.

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

Projecte a pontuação de um scorable com uma expressão lambda.

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

Invoque o protocolo de chamadas gravável num único scorável.

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

Aplica-se a