You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the ControllerRewriter to help build a list of the Controller class SynxtaxNodes that I need to build Example here
This outputs all the controller syntaxnode information which I can then pass to a generator and cycle through to generate each class and methods, derived class etc Example here
I've gone for a fixed generated file in a subfolder called R4MVC located in the directory of the first controller in it's list. The file contains all the generated code as this makes it easy to filter out of the ControllerRewriter and reduces the risk of orphans from removed or changed code as the file is generated fresh every time without seeming like it affects perf too much.
+ Added the ActionResult implementation class
+ Added parameterless method implementations in the partial controller (one of the last things for T4MVC#7)
We need to generate partial controller classes to hold the view and action name constants.
The text was updated successfully, but these errors were encountered: