DialogRouter.MakeDelegate Method
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 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
- fromActivity
- IEnumerable<IScorable<IActivity,Double>>
- fromResolver
- IEnumerable<IScorable<IResolver,Double>>