Partager via


DialogRouter Constructeur

Définition

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))

Paramètres

stack
IDialogStack
makeResolver
Func<IActivity,IResolver>
traits
ITraits<Double>
comparer
IComparer<Double>

S’applique à