Author Topic: How do I model this .NET Function?  (Read 1389 times)


  • EA User
  • **
  • Posts: 142
  • Karma: +3/-0
  • -- There's always a solution --
    • View Profile
How do I model this .NET Function?
« on: March 26, 2017, 05:43:21 am »
Being new to .NET I have not learned how to represent the following code construct in UML, therefore, how do I model this function in EA?


Code: [Select]
Public Function SetEnumValue(Of T As {Structure, New, IConvertible}) (
key As String,
enumValue As T
) As Boolean

The same as C#.NET:

Code: [Select]
public bool SetEnumValue<T>(
string key,
T enumValue
where T : struct, new(), IConvertible

// Rolf
-- There's always a solution --