Route handler that can create instances of CallbackHandler derived callback classes. The route handler tracks the method name and creates an instance of the service in a predictable manner
Westwind.Web.CallbackHandlerRouteHandler
public class CallbackHandlerRouteHandler : object, IRouteHandler
Class Members
Member | Description | |
---|---|---|
Constructor |
Constructor to pass in the two required components we need to create an instance of our handler. | |
RegisterRoutes |
Generic method to register all routes from a CallbackHandler that have RouteUrls defined on the [CallbackMethod] attribute public static void RegisterRoutes |
|
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 |
Requirements
Namespace: Westwind.WebAssembly: westwind.web.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic