Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Andris on September 14, 2008, 07:43:11 pm
-
Hi,
I'd like to create a constructor that calls another constructor in this way:
public MyClass(object o1, object o2):this(o1)
{
...
}
How can I set it on a class diagram designer to produce this output in C#?
-
I think you can do this, but it is not part of a diagram, but rather the code engineering function.
Look into creating custom templates. You'll need to hunt and peck a bit to figure out the formatting options, but it is all there.