Microsoft.Bot.Builder.Dialogs.Internals.DialogRouter Class Reference

Scorable for Dialog module routing. More...

Inheritance diagram for Microsoft.Bot.Builder.Dialogs.Internals.DialogRouter:

Public Member Functions

 DialogRouter (IDialogStack stack, IEnumerable< IScorable< IActivity, double >> fromActivity, IEnumerable< IScorable< IResolver, double >> fromResolver, Func< IActivity, IResolver > makeResolver, ITraits< double > traits, IComparer< double > comparer)
 
virtual Task DoneAsync (Item item, object state, CancellationToken token)
 
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)
 
override string ToString ()
 

Static Public Member Functions

static IEnumerable< IScorable< IActivity, double > > EnumerateRelevant (IDialogStack stack, IEnumerable< IScorable< IActivity, double >> fromActivity, IEnumerable< IScorable< IResolver, double >> fromResolver, Func< IActivity, IResolver > makeResolver)
 
static IScorable< IActivity, double > MakeDelegate (IDialogStack stack, IEnumerable< IScorable< IActivity, double >> fromActivity, IEnumerable< IScorable< IResolver, double >> fromResolver, Func< IActivity, IResolver > makeResolver, ITraits< double > traits, IComparer< double > comparer)
 

Protected Attributes

readonly IScorable< Item, Score > inner
 

Detailed Description

Scorable for Dialog module routing.

Definition at line 48 of file DialogRouter.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Dialogs.Internals.DialogRouter.DialogRouter ( IDialogStack  stack,
IEnumerable< IScorable< IActivity, double >>  fromActivity,
IEnumerable< IScorable< IResolver, double >>  fromResolver,
Func< IActivity, IResolver makeResolver,
ITraits< double >  traits,
IComparer< double >  comparer 
)
inline

Definition at line 100 of file DialogRouter.cs.

Member Function Documentation

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

Definition at line 193 of file ScorableBase.cs.

static IEnumerable<IScorable<IActivity, double> > Microsoft.Bot.Builder.Dialogs.Internals.DialogRouter.EnumerateRelevant ( IDialogStack  stack,
IEnumerable< IScorable< IActivity, double >>  fromActivity,
IEnumerable< IScorable< IResolver, double >>  fromResolver,
Func< IActivity, IResolver makeResolver 
)
inlinestatic

Definition at line 50 of file DialogRouter.cs.

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

Definition at line 172 of file ScorableBase.cs.

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

Definition at line 167 of file ScorableBase.cs.

static IScorable<IActivity, double> Microsoft.Bot.Builder.Dialogs.Internals.DialogRouter.MakeDelegate ( IDialogStack  stack,
IEnumerable< IScorable< IActivity, double >>  fromActivity,
IEnumerable< IScorable< IResolver, double >>  fromResolver,
Func< IActivity, IResolver makeResolver,
ITraits< double >  traits,
IComparer< double >  comparer 
)
inlinestatic

Definition at line 85 of file DialogRouter.cs.

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

Definition at line 177 of file ScorableBase.cs.

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

Definition at line 151 of file ScorableBase.cs.

override string Microsoft.Bot.Builder.Scorables.Internals.DelegatingScorable< Item, Score >.ToString ( )
inlineinherited

Definition at line 146 of file ScorableBase.cs.

Member Data Documentation

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

Definition at line 139 of file ScorableBase.cs.


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