开发者

Representing A Generic IList<T> in UML Notation

So, I have a method that returns a generic IList as follows: public IList GetList();. How you represent that in a 开发者_JAVA技巧UML class diagram?

Thanks.


In a UML diagram, a generic or template class would indicate that it aggregates type/class T. Class AClass---aggregates---->T


I don't think you can. It only shows the return type, and the reader must notice that this type is generic.

But what if you simply write IList as return type?

See also this post

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜