public static void MapHttpHandler <THandler>(this RouteCollection routes, string name, string url, RouteValueDictionary defaults, RouteValueDictionary constraints) where THandler : IHttpHandler, new() { routes.MapHttpHandler <THandler>(name, url, defaults, constraints, null); }
public static void MapHttpHandler <THandler>(this RouteCollection routes, string name, string url) where THandler : IHttpHandler, new() { routes.MapHttpHandler <THandler>(name, url, null, null, null); }