[Question] How to create this generic class in EA

chookrib (32**42) 2012-05-02 11:29:41
Ask whether EA supports generic classes? For example, for these two classes, there is no place to set generics in the classes and properties in EA. How to create this generic class in EA? Using EA version 8.0, the actual language of the following categories is C#, thank you!
public abstract class Class1<T>
{ public T Id {get; set;} }

public class Class2: Class1<int>
{ } umlchina1 (35**47) 2012-05-02 11:49:23 chookrib, I am using version 9.2 is ok, set chookrib (32 **42) 2012-05-02 12:07:39 I also found this template in 8.0, but how to express the above Class2? chookrib (32**42) 2012-05-02 12:07:59 now looks like this chookrib (32**42) 2012-05-02 12:08:15 umlchina1 (3504847) 2012-05-02 16:15 :57 umlchina1 (3504847) 2012-05-02 16:16:37 umlchina1 (35**847) 2012-05-02 16:17:36



image





image

image

image

image


Guess you like

Origin blog.csdn.net/rolt/article/details/111717928