Microsoft.Bot.Builder.Internals.Scorables.AttributeScorable Class Reference

Create a dispatch scorable based on attributes. More...

Inheritance diagram for Microsoft.Bot.Builder.Internals.Scorables.AttributeScorable:

Public Member Functions

 AttributeScorable (Type type, Func< ILuisModel, ILuisService > make)
 
virtual Score GetScore (Item item, object state)
 
virtual bool HasScore (Item item, object state)
 
virtual Task PostAsync (Item item, object state, CancellationToken token)
 
virtual Task< object > PrepareAsync (Item item, CancellationToken token)
 

Static Public Member Functions

static IEnumerable< A > AttributesFor< A > (MethodInfo method)
 
static IScorable< IResolver, object > Make (Type type, Func< ILuisModel, ILuisService > make)
 

Protected Attributes

readonly IScorable< Item, Score > inner
 

Detailed Description

Create a dispatch scorable based on attributes.

Definition at line 52 of file AttributeScorable.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Internals.Scorables.AttributeScorable.AttributeScorable ( Type  type,
Func< ILuisModel, ILuisService make 
)
inline

Definition at line 54 of file AttributeScorable.cs.

Member Function Documentation

static IEnumerable<A> Microsoft.Bot.Builder.Internals.Scorables.AttributeScorable.AttributesFor< A > ( MethodInfo  method)
inlinestatic
Type Constraints
A :Attribute 

Definition at line 58 of file AttributeScorable.cs.

virtual Score Microsoft.Bot.Builder.Internals.Scorables.DelegatingScorable< Item, Score >.GetScore ( Item  item,
object  state 
)
inlinevirtualinherited

Definition at line 88 of file Scorable.cs.

virtual bool Microsoft.Bot.Builder.Internals.Scorables.DelegatingScorable< Item, Score >.HasScore ( Item  item,
object  state 
)
inlinevirtualinherited

Definition at line 84 of file Scorable.cs.

static IScorable<IResolver, object> Microsoft.Bot.Builder.Internals.Scorables.AttributeScorable.Make ( Type  type,
Func< ILuisModel, ILuisService make 
)
inlinestatic

Definition at line 66 of file AttributeScorable.cs.

virtual Task Microsoft.Bot.Builder.Internals.Scorables.DelegatingScorable< Item, Score >.PostAsync ( Item  item,
object  state,
CancellationToken  token 
)
inlinevirtualinherited

Definition at line 92 of file Scorable.cs.

virtual Task<object> Microsoft.Bot.Builder.Internals.Scorables.DelegatingScorable< Item, Score >.PrepareAsync ( Item  item,
CancellationToken  token 
)
inlinevirtualinherited

Definition at line 80 of file Scorable.cs.

Member Data Documentation

readonly IScorable<Item, Score> Microsoft.Bot.Builder.Internals.Scorables.DelegatingScorable< Item, Score >.inner
protectedinherited

Definition at line 75 of file Scorable.cs.


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