Microsoft.Bot.Builder.Scorables.Internals.TraitsScorable< Item, Score > Class Template Referenceabstract
Inheritance diagram for Microsoft.Bot.Builder.Scorables.Internals.TraitsScorable< Item, Score >:

Public Member Functions

 TraitsScorable (ITraits< Score > traits, IComparer< Score > comparer, IEnumerable< IScorable< Item, Score >> scorables)
 
delegate bool OnStageDelegate (FoldStage stage, IScorable< Item, Score > scorable, Item item, object state, Score score)
 Event handler delegate for fold scorable stages. More...
 
override bool OnStageHandler (FoldStage stage, IScorable< Item, Score > scorable, Item item, object state, Score score)
 

Protected Member Functions

abstract Task DoneAsync (Item item, State state, CancellationToken token)
 
override async Task DoneAsync (Item item, IReadOnlyList< State > states, CancellationToken token)
 
abstract Score GetScore (Item item, State state)
 
override Score GetScore (Item item, IReadOnlyList< State > states)
 
abstract bool HasScore (Item item, State state)
 
override bool HasScore (Item item, IReadOnlyList< State > states)
 
abstract Task PostAsync (Item item, State state, CancellationToken token)
 
override async Task PostAsync (Item item, IReadOnlyList< State > states, CancellationToken token)
 
override async Task< IReadOnlyList< State > > PrepareAsync (Item item, CancellationToken token)
 

Protected Attributes

readonly IComparer< Score > comparer
 
override OnStageDelegate OnStage => this.onStage
 
readonly IEnumerable< IScorable< Item, Score > > scorables
 

Detailed Description

Definition at line 344 of file Scorables.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Scorables.Internals.TraitsScorable< Item, Score >.TraitsScorable ( ITraits< Score >  traits,
IComparer< Score >  comparer,
IEnumerable< IScorable< Item, Score >>  scorables 
)
inline

Definition at line 348 of file Scorables.cs.

Member Function Documentation

abstract Task Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.DoneAsync ( Item  item,
State  state,
CancellationToken  token 
)
protectedpure virtualinherited
override async Task Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.DoneAsync ( Item  item,
IReadOnlyList< State states,
CancellationToken  token 
)
inlineprotectedinherited

Definition at line 205 of file FoldScorable.cs.

abstract Score Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.GetScore ( Item  item,
State  state 
)
protectedpure virtualinherited
override Score Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.GetScore ( Item  item,
IReadOnlyList< State states 
)
inlineprotectedinherited

Definition at line 174 of file FoldScorable.cs.

abstract bool Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.HasScore ( Item  item,
State  state 
)
protectedpure virtualinherited
override bool Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.HasScore ( Item  item,
IReadOnlyList< State states 
)
inlineprotectedinherited

Definition at line 163 of file FoldScorable.cs.

delegate bool Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.OnStageDelegate ( FoldStage  stage,
IScorable< Item, Score >  scorable,
Item  item,
object  state,
Score  score 
)
inherited

Event handler delegate for fold scorable stages.

override bool Microsoft.Bot.Builder.Scorables.Internals.TraitsScorable< Item, Score >.OnStageHandler ( FoldStage  stage,
IScorable< Item, Score >  scorable,
Item  item,
object  state,
Score  score 
)
inlinevirtual
abstract Task Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.PostAsync ( Item  item,
State  state,
CancellationToken  token 
)
protectedpure virtualinherited
override async Task Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.PostAsync ( Item  item,
IReadOnlyList< State states,
CancellationToken  token 
)
inlineprotectedinherited

Definition at line 180 of file FoldScorable.cs.

override async Task<IReadOnlyList<State> > Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.PrepareAsync ( Item  item,
CancellationToken  token 
)
inlineprotectedvirtualinherited

Member Data Documentation

readonly IComparer<Score> Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.comparer
protectedinherited

Definition at line 79 of file FoldScorable.cs.

override OnStageDelegate Microsoft.Bot.Builder.Scorables.Internals.DelegatingFoldScorable< Item, Score >.OnStage => this.onStage
protectedinherited

Definition at line 226 of file FoldScorable.cs.

readonly IEnumerable<IScorable<Item, Score> > Microsoft.Bot.Builder.Scorables.Internals.FoldScorable< Item, Score >.scorables
protectedinherited

Definition at line 80 of file FoldScorable.cs.


The documentation for this class was generated from the following file: