GenericHandlerRouteHandler<(Of <(<'T>)>)> Class
Route handler that creates new instances of T to service matched routes.
Implements the IRouteHandler
Namespace:
AdvantageCMS.Core.Common.BaseClasses.HandlerAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public class GenericHandlerRouteHandler<T> : IRouteHandler where T : IHttpHandler
Type Parameters
- T
- The IHttpHandler type to instantiate for each request.
Examples
C#
// Inside GenericHandlerRoute<T>.GetRouteData: var routeHandler = new GenericHandlerRouteHandler<ProductHandler>(); RouteData rdata = new RouteData(this, routeHandler); // The ASP.NET pipeline then calls routeHandler.GetHttpHandler(requestContext) // to obtain a new ProductHandler instance for the request.
Inheritance Hierarchy
AdvantageCMS.Core.Common.BaseClasses.Handler..::..GenericHandlerRouteHandler<(Of <(<'T>)>)>

