Пример #1
0
 // This method is only useful if you are in a single domain Application
 public static IRoute FindNamedRoute <TController>(this IExpressiveReverseRouter router, string name)
     where TController : IRenderingController
 {
     return(router.FindNamedRouteWith <TController>(name, new object[0]));
 }
Пример #2
0
 // This method is only useful if you are in a single domain Application
 public static IRoute FindRouteWith <TController>(this IExpressiveReverseRouter router, params object[] objects)
     where TController : IRenderingController
 {
     return(router.FindNamedRouteWith <TController>("Execute", objects));
 }