RouteAttributeHelper Class
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.
Shared helper for applying sign-in handlers to a route builder.
public static class RouteAttributeHelper
type RouteAttributeHelper = class
Public Class RouteAttributeHelper
- Inheritance
-
RouteAttributeHelper
Methods
| Name | Description |
|---|---|
| ApplySignInHandlers(AgentApplication, String, Action<String>, Action<Func<ITurnContext,String[]>>) |
Applies sign-in handlers to a route builder by invoking |
| CreateHandlerDelegate(AgentApplication, MethodInfo, Type) |
Creates a bound delegate of the given |
| CreateHandlerDelegate<T>(AgentApplication, MethodInfo) |
Creates a bound delegate from |
| CreateMatchingHandlerDelegate(AgentApplication, MethodInfo, Type) |
Selects the first handler delegate Type declared on |
| DelimitedToList(String) | |
| GetDeclaredHandlerType(Type) |
Returns the first handler delegate Type declared on a route attribute class via
RouteHandlerTypeAttribute, or |
| GetDeclaredHandlerTypes(Type) |
Returns all handler delegate Type values declared on a route attribute class via one or more RouteHandlerTypeAttribute applications. A method decorated with the attribute is valid if it matches any of them. Returns an empty array when none are declared. |
| InvokeGenericWithHandler(AgentApplication, MethodInfo, Type, Int32, Object) |
Infers the generic type parameter from the method's third parameter, creates a delegate of
|