public class CallbackHandlerRouteHandler : object, IRouteHandler
| Member | Description | |
|---|---|---|
![]() |
Constructor | Constructor to pass in the two required components we need to create an instance of our handler. |
![]() ![]() |
RegisterRoutes<TCallbackHandler> | Generic method to register all routes from a CallbackHandler that have RouteUrls defined on the [CallbackMethod] attribute public static void RegisterRoutes<TCallbackHandler>(RouteCollection routes);
|
![]() |
CallbackHandlerType | The type of the handler we're going to instantiate. Needed so we can semi-generically instantiate the handler and call the method on it. |
![]() |
MethodName | Method name that is to be called on this route. Set by the automatically generated RegisterRoutes invokatio.n |