Microsoft.Bot.Builder.Internals.Scorables.ScopeScorable< InnerState, InnerScore > Class Template Reference

Scorable for introducing a lifetime scope to resources needed during a IScorable.PrepareAsync. More...

Inheritance diagram for Microsoft.Bot.Builder.Internals.Scorables.ScopeScorable< InnerState, InnerScore >:

Classes

class  Scope
 

Public Member Functions

 ScopeScorable (TryResolve tryResolve, IScorable< IResolver, InnerScore > inner)
 
override InnerScore GetScore (IResolver item, Scope state)
 
override async Task< ScopePrepareAsync (IResolver item, CancellationToken token)
 

Protected Attributes

readonly IScorable< IResolver, InnerScore > inner
 

Detailed Description

Scorable for introducing a lifetime scope to resources needed during a IScorable.PrepareAsync.

Definition at line 74 of file ResolverScorable.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Internals.Scorables.ScopeScorable< InnerState, InnerScore >.ScopeScorable ( TryResolve  tryResolve,
IScorable< IResolver, InnerScore >  inner 
)
inline

Definition at line 106 of file ResolverScorable.cs.

Member Function Documentation

override InnerScore Microsoft.Bot.Builder.Internals.Scorables.ScopeScorable< InnerState, InnerScore >.GetScore ( IResolver  item,
Scope  state 
)
inline

Definition at line 118 of file ResolverScorable.cs.

override async Task<Scope> Microsoft.Bot.Builder.Internals.Scorables.ScopeScorable< InnerState, InnerScore >.PrepareAsync ( IResolver  item,
CancellationToken  token 
)
inline

Definition at line 111 of file ResolverScorable.cs.

Member Data Documentation

readonly IScorable<IResolver, InnerScore> Microsoft.Bot.Builder.Internals.Scorables.ResolverScorable< OuterState, OuterScore, InnerState, InnerScore >.inner
protectedinherited

Definition at line 64 of file ResolverScorable.cs.


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