I need a program to design UML class diagrams and generate C# code from it.
My goal is to build an UML class diagram for some personal project and generate the backbone of my code with it.
For instance, the software would allow me to build a class diagram like this:
And generate the following code from it:
public class Component
{
public void operation()
{
}
}
public class ConcreteComponent : Component
{
public void operation()
{
}
}
public class Decorator : Component
{
private object component;
public void operation()
{
}
}
public class ConcreteDecorator : Decorator
{
public void operation()
{
}
}
An additional much appreciated feature would be the possibility to generate the code with System.Collections
attributes to implement UML composition or aggregation.
The software I'm looking for needs to run on Windows 7 and 8(.1) 32-bit and 64-bit and I don't mind the price.