Reputation:
is it possible to somehow import C# code into Microsoft Visio 2010 to generate UML Models?
The main problem is that I don't know how to model an interface which defines an event like below:
public interface IInterface
{
bool Method();
event EventHandler MyEvent;
}
So I thought it would be easiest if Visio is capable of importing my code, nevertheless if someone can explain to me how to model the interface described above I don't need to import anything.
Upvotes: 0
Views: 1886
Reputation: 67296
I don't think Visio will do this. However, Enterprise Architect will. You could do a free trial and see what it produces. Also this post might help as it discusses how some others are modelling events in UML.
Upvotes: 2