Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score > Class Template Referenceabstract

Allow for static type checking of opaque state for convenience of scorable implementations. More...

Inheritance diagram for Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >:

Protected Member Functions

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

Detailed Description

Allow for static type checking of opaque state for convenience of scorable implementations.

The IScorable methods are marked with DebuggerStepThrough because once the compiler has verified the type safety of the derived class that implements the abstract State-typed methods, these DebuggerStepThrough methods will not throw exceptions due to runtime type errors.

Definition at line 55 of file ScorableBase.cs.

Member Function Documentation

abstract Task Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.DoneAsync ( Item  item,
State  state,
CancellationToken  token 
)
protectedpure virtual
abstract Score Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.GetScore ( Item  item,
State  state 
)
protectedpure virtual
abstract bool Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.HasScore ( Item  item,
State  state 
)
protectedpure virtual
abstract Task Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.PostAsync ( Item  item,
State  state,
CancellationToken  token 
)
protectedpure virtual
abstract Task<State> Microsoft.Bot.Builder.Scorables.Internals.ScorableBase< Item, State, Score >.PrepareAsync ( Item  item,
CancellationToken  token 
)
protectedpure virtual

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