What is it? SharpDia2Code is a small open-source tool for generation of C#-source-code from Dia-UML-diagrams. You can draw an UML-class-diagram with the cross-platform diagramming-program Dia, save it and SharpDia2Code produces class-skeletons or even NUnit-test- skeletons from the saved file.
Features
  • generation of sources for C# and VB.NET, as well as C#-source-skeletons for NUnit-tests
  • interactive configuration of the generation-process
  • syntaxhighlighted preview of generated code
  • semantic checks during import of an UML-model
  • transformations of the UML-model like conversion from fields/member-variables to C#-properties or auto-implementation for methods from interfaces ...
  • Automatic creation of UML-diagrams (Dia or Graphviz) from assemblies.
Where to get it? You can download the MSI-installer or the source-code via CVS from the summary page for SharpDia2Code on sourceforge.
Requirements The program runs on windows-platforms with installed .NET-Framework 1.1.
For compiling SharpDia2Code from the source in the CVS you need Visual Studio.NET 2003 for C#.
Links

Windows installer for Dia
Dia - Homepage
NUnit - Unittesting for .NET
Graphviz - Graph Visualization Software


Last modification on 07. Mar. 2005