Hi ya Millan
Why would having Activity Diagrams of existant C# Operations be of help or assistance to you?
The reason I ask is that many of the professional developers that I speak to say that while flowchart / activity diagrams assist them constructing code (at the source level, as implied by stipulating C#.... processing MS.IL Binaries to EA UML form; doesn't involve transforming to C# in getting to UML, no activity diagrams that route either) but of little to no help after... they conceptualise in their head, neither graphically nor textually as far as I can tell.
And collecting togeather reasons and rationals for doing what you want, so as to garner resources to commission an addin to acomplish re'ing to activity, modification and forward genenerating. Is a highvproity for me at the moment.
One significant problem is the lack of how you draw your code (everyone is so secretive and 'their codes' consequential 'uniqueness'; that discovering commonality is hindered if not impossible), another is notation 'what it looks like'...(a sea of little rectangles with stereotype text annotations spread accross or down a multi page diagram; is often even more confussing to anybody but the graphic artist who produced the orginal... modifing it often leaves even them scratching their heads to explain how its changed; and forget geting any certainity as to what to expect from the instaniation of the diagram from either the modifier or orginator ).
The only glimmer of hope, is unlike all but Altevista's Umodel, Microsoft has released Sequence Diagram generation from arbitory operation declarations as a right click option in the Ultimate edition. source editor... and dependancy diagrams. So we might reasonably expect a DSL implementation of a UML Conformant 'Operational Notation Language' based on Activity Diagrams, that enables creation, reveiw, compilation, persistance and modification of class object methods via a visual designer in the next release. Look to Windows Workflow (for the control flow visual paradigm) or the MS Robotics' platform's 'Visual Programming Language' (for a data flow exclusive visual paradigm) for potential insight. Or not, no UML state machine diagrams even in the MSDN Ultimate Subscription currently.
I might get funding for an early study.... I defv would enjoy attempting to parse operation declarations to an Activity like diagram form... but no one is being at all open about what 'a=b*2; if( !c ) return b; else return a;' should look like; let alone Switch, for... or parallel.foreach => blocks ; .
Comment, suggests more than welcome ... in fact I need em...and so does MILAN for whatever reason
Rebel draw ya code
Kevin [smiley=2vrolijk_08.gif]