Book a Demo

Author Topic: Modeling with C# Generics  (Read 1992 times)

h2oskier

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Modeling with C# Generics
« on: June 08, 2006, 07:07:34 am »
What is the recommended approach to modeling operations where parameters and/or return types are C# generics such as List<T>?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Modeling with C# Generics
« Reply #1 on: June 08, 2006, 10:54:51 pm »
Currently the only way to model this that will work with code engineering is to put the full type in the type field.  eg. List<MyClass>

One option is to create a class with that as the name and set the type to that class.
« Last Edit: June 08, 2006, 10:56:19 pm by simonm »