💻 Software
How to specify a List<MyCustomType> as a “Return Type” for a UML Interface Property
Fresh5 days ago
Mar 15, 20262533 viewsConfidence Score0%
0%
Problem
I initially posted this question in Stack Overflow, but I have a feeling that I should have posted here instead. In my Visio 2007 UML document I am unable to figure out how I can add an operation to an Interface that returns a generic type. For example: Say I have a class named "MyClass" and an Int…
Error Output
namespace StackO
{
public interface IFace
{
List<MyClass> SomeMethod(string data);
}
public class MyClass
{
}
}Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to specify a List<MyCustomType> as a “Return Type” for a UML Interface Property
Low Risk
I received a sufficient answer from my post over at Stack Overflow: There is a tip for handling this. in the Class diagram properties > Go to operations > select the return type you are interested in changing and click properties. in the next dialog…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix