![]() ![]() ![]() |

Flat | Previous Topic | Next Topic |
Poster | Thread |
---|---|
Thatar | Posted on: 2015/4/12 22:56 |
Just popping in ![]() ![]() Joined: 2015/4/4 From: Posts: 4 |
Re: [Class diagram] Exporting generic type parameter to C# Apologies for the late reply.
Do you mean C# source code? An example would be: ---------------------- ---------------------- class MyClass { public Func<int,int> MyFuncA; public Func<int,int,int> MyFuncB; } ---------------------- ---------------------- If you try to recreate this in Astah by making a C# project, adding a class, and adding these two attributes: it breaks on adding MyFuncB (of type Func<int,int>). It adds a question mark to the type parameters of MyFuncA. Screenshot: ![]() When you export it also adds this question mark to the source code. As you can see Astah does not support generic classes that have the same name but a different amount of generic parameters, even though they exist in C#. |
Flat | Previous Topic | Next Topic |
Subject | Poster | Date |
---|---|---|
![]() |
Thatar | 2015/4/4 19:49 |
![]() |
webmaster | 2015/4/6 17:03 |
![]() |
webmaster | 2015/4/7 11:52 |
![]() |
Thatar | 2015/4/8 17:26 |
![]() |
Thatar | 2015/4/8 18:31 |
![]() |
webmaster | 2015/4/9 17:33 |
» ![]() |
Thatar | 2015/4/12 22:56 |
![]() |
webmaster | 2015/4/14 18:08 |
![]() |
midori | 2015/4/27 10:21 |
