WizardStep support for Castle.Tools.CodeGenerator

0 views
Skip to first unread message

Lee Henson

unread,
Apr 11, 2007, 8:12:20 AM4/11/07
to castle-pro...@googlegroups.com
Ok, attached is my first stab at adding support for WizardControllers to the CodeGenerator.

- The ControllerVisitor now looks for the usage of IWizardController, and if found it examines the contents of the GetSteps method to determine the types of the wizard steps.
- Any method declared on IWizardController is ignored when it comes to building the list of actions on that controller.
- Name clashes between areas and controllers are now detected and handled in the generated classes by appending "Area" and "Controller" suffixes as appropriate.
- I haven't got as far as parsing the actions on the WizardStepPage classes yet. I'd like a peer review before going any further (and I haven't got the time in the next week).

Also, the version of NRefactory used by the CodeGenerator has been updated to the latest trunk version from the SharpCode svn.
codegenerator_trunk.patch

Hamilton Verissimo

unread,
Apr 16, 2007, 5:25:27 PM4/16/07
to castle-pro...@googlegroups.com
Was it applied?
Btw, I thought you had an account on the contrib repository.


--
Cheers,
hamilton verissimo
ham...@castlestronghold.com
http://www.castlestronghold.com/

Reply all
Reply to author
Forward
0 new messages