Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: caro on February 28, 2008, 06:17:01 pm

Title: Generate code for events in C#
Post by: caro on February 28, 2008, 06:17:01 pm
Hello group,

is there a possibilty to modify a method/attribute in a class diagram in such a way, that the code generator will generate a C# event, like

public event EventHandler MyEvent;

I am only able to generate methods, the event keyword will not appear even if I use the stereotype event.

Many thanks in advance
Regards
Caro