Microsoft.Bot.Builder.Internals.Scorables.SelectScorable< Item, SourceScore, TargetScore > Class Template Reference
Inheritance diagram for Microsoft.Bot.Builder.Internals.Scorables.SelectScorable< Item, SourceScore, TargetScore >:

Public Member Functions

 SelectScorable (IScorable< Item, SourceScore > scorable, Func< Item, SourceScore, TargetScore > selector)
 
bool HasScore (Item item, object state)
 Returns whether this scorable wants to participate in scoring this item. More...
 
virtual bool HasScore (Item item, object state)
 
Task PostAsync (Item item, object state, CancellationToken token)
 If this scorable wins, this method is called. More...
 
virtual Task PostAsync (Item item, object state, CancellationToken token)
 
Task< object > PrepareAsync (Item item, CancellationToken token)
 Perform some asynchronous work to analyze the item and produce some opaque state. More...
 
virtual Task< object > PrepareAsync (Item item, CancellationToken token)
 

Protected Attributes

readonly IScorable< Item, Score > inner
 

Detailed Description

Definition at line 87 of file Scorables.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Internals.Scorables.SelectScorable< Item, SourceScore, TargetScore >.SelectScorable ( IScorable< Item, SourceScore >  scorable,
Func< Item, SourceScore, TargetScore >  selector 
)
inline

Definition at line 90 of file Scorables.cs.

Member Function Documentation

bool Microsoft.Bot.Builder.Internals.Scorables.IScorable< in in Item, out out Score >.HasScore ( Item  item,
object  state 
)
inherited

Returns whether this scorable wants to participate in scoring this item.

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

Definition at line 84 of file Scorable.cs.

Task Microsoft.Bot.Builder.Internals.Scorables.IScorable< in in Item, out out Score >.PostAsync ( Item  item,
object  state,
CancellationToken  token 
)
inherited

If this scorable wins, this method is called.

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.

Task<object> Microsoft.Bot.Builder.Internals.Scorables.IScorable< in in Item, out out Score >.PrepareAsync ( Item  item,
CancellationToken  token 
)
inherited

Perform some asynchronous work to analyze the item and produce some opaque state.

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: