*C# Source Import Module*

*Abstract*

C# Source Import module enable argouml users to import C# source code and
build UML diagrams.

*From end users Perspective:*

Users can import C# sources to argouml by using the
"argouml-csharp-imp.jar". They have to place it in ext directory of argouml
root directory to use it.

*Implementation *

*CSharp Parser:*

This was the first step of the development. I selected CSParser  (
http://www.codeplex.com/csparser) <http://www.codeplex.com/csparser%29>,
after a broad research in available tools. It was written in CSharp and I
had to convert the whole project to java. CSharp parser dose not fully
support Generics and Delegates yet, But support most of other language
constructs in CSharp.

*UML Modeling*

After parser generated the AST, next step is to model the AST to UML
diagram. Even though the existing Java import module was a great help while
building the C# modeler, C# import module separated the parsing and modeling
processes independent of each other as much as possible, making it easier to
use the modeler for other projects and allowing developers to switch between
parsers.

*Testing*

The C# import module is tested against considerable amount of C# source
code, including some famous open source projects like NDoc. Argouml version
0.25.6 is used to test the C# source import module.

*Source*

You can checkout sources from
http://argouml-csharp.tigris.org/svn/argouml-csharp/branches/gsoc2008



I would also like to thank Jan, my mentor for guiding me and all other
developers in dev list who made suggestions and comments when I was in doubt
about certain issues. And also I hope to continue my work on CSharp project
whenever it is possible. Thank you all again, for helping me to make CSharp
Source import module a success.
Regards,
Thilina

-- 
Thilina Hasantha
Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka

Reply via email to