DialogRouter Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public DialogRouter (Microsoft.Bot.Builder.Dialogs.Internals.IDialogStack stack, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Connector.IActivity,double>> fromActivity, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver,double>> fromResolver, Func<Microsoft.Bot.Connector.IActivity,Microsoft.Bot.Builder.Scorables.Internals.IResolver> makeResolver, Microsoft.Bot.Builder.Internals.Fibers.ITraits<double> traits, System.Collections.Generic.IComparer<double> comparer);
new Microsoft.Bot.Builder.Dialogs.Internals.DialogRouter : Microsoft.Bot.Builder.Dialogs.Internals.IDialogStack * seq<Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Connector.IActivity, double>> * seq<Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Builder.Scorables.Internals.IResolver, double>> * Func<Microsoft.Bot.Connector.IActivity, Microsoft.Bot.Builder.Scorables.Internals.IResolver> * Microsoft.Bot.Builder.Internals.Fibers.ITraits<double> * System.Collections.Generic.IComparer<double> -> Microsoft.Bot.Builder.Dialogs.Internals.DialogRouter
Public Sub New (stack As IDialogStack, fromActivity As IEnumerable(Of IScorable(Of IActivity, Double)), fromResolver As IEnumerable(Of IScorable(Of IResolver, Double)), makeResolver As Func(Of IActivity, IResolver), traits As ITraits(Of Double), comparer As IComparer(Of Double))
Parameters
- stack
- IDialogStack
- fromActivity
- IEnumerable<IScorable<IActivity,Double>>
- fromResolver
- IEnumerable<IScorable<IResolver,Double>>