Loosely related to this post, I need to get a list of all controllers in the controllers folder. We're just experimenting with some stuff at the moment. I've searched through API's etc. without any luck. I can get the current controller just fine, but not the others unfortunately.
I've had to statically create a list of instantiated controllers that I want, like so:
public static IList<AbstractHtmlPageController> _controllers = new List<AbstractHtmlPageController>
{
new HomeController(),
new UserController()
};
This obviously isn't a desirable solution.
Cheers