DialogRouter.MakeDelegate Method

Definition

public static Microsoft.Bot.Builder.Scorables.IScorable<Microsoft.Bot.Connector.IActivity,double> MakeDelegate (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);
static member MakeDelegate : 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.Scorables.IScorable<Microsoft.Bot.Connector.IActivity, double>
Public Shared Function MakeDelegate (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)) As IScorable(Of IActivity, Double)

Parameters

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

Returns

Applies to