Author Topic: Generate code for events in C#  (Read 444 times)

caro

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Generate code for events in C#
« 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