This project is read-only.

Get T4MVC Route Name and Parameters

Apr 12, 2013 at 2:00 AM

I have the following T4MVC route:

MVC.Photos.Get(int id, string type)
  1. Given this I would like to get T4MVC route name: "MVC.Photos.Get".
  2. And I would like to get the parameters names: "id", "type".
I would like to use this, together with the URL of this route, to create a JS function which I will use on my view so I can access it in a similar way as I do in MVC.

How can I do this?

Thank you,