How to use interfaces

T

Tonni Schmücker

Hi ...

How can you show in an UML diagram using visio that you have 1 class who
uses the interface implementet by another ??

ex: C#

public class MyClass : ImyInterface
{
//some code
}

//And then in another class you will do something like:

private ImyInterface imi = new MyClass();

can you show this via UML shapes in Visio ??

thanks in advance ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top