igochkov/ScriptSharpJQueryUI — pull request #2 by nikhilk (2012-06-15 20:34:07+00:00)
Title: Updates to the generator

Changed some stuff around pascal-casing, project file generation and bracing/spacing.

What I didn't change, since it would go beyond basic generator tweaking, but that I think should be:

1. Event enums should have an "Events" suffix. Too confusing to know which is an event data class, and which is an event names enumeration, since both have "Event" suffix. Potentially that implies *Method and *Option enums should be *Methods and *Options respectively.

2. Most Event data classes are empty which raises the need for one per event, rather than just a base class.

3. Still not sure why we need specific EventHandler types per event. Seems like that adds a lot of stuff when viewed in a class browser. I think a generic type would work well.

4. I think the generator itself shouldn't need to generate static classes like jQueryUIObject, jQuerySize etc. but not a big deal.

5. Finally I noticed some Widget classes. Are individual widget objects and widget option objects supposed to inherit the base classes. Don't know enough about jQueryUI to tell.