Closed rianwouters closed 5 years ago
fixing property support...
Hi @rianwouters Thank you for adding great feature! This is exactly the feature we wanted!!
I want to merge immediately, but I found the following problems. I have committed the fixed code, so please check it.
for example
class SubClassX : BaseClass<int>
{
public GenericsType Gt { get; set; }
}
class BaseClass<Tx>
{
public Tx X { get; set; }
}
It is output as follows
class SubClassX {
class "BaseClass`1"<Tx> {
}
}
class GenericsType<T1, T2>
{
public T1 Value1 { get; }
public T2 Value2;
}
Output result
class "GenericsType`2"<T1,T2> {
}
"GenericsType`2" --> "Value1" T1
"GenericsType`2" --> "Value2" T2
I changed it as follows
class "GenericsType`2"<T1,T2> {
+ Value1 : T1 <<get>>
+ Value2 : T2
}
Thanks. I'll check ASAP
I merged tentatively this PR If there is a problem, please create a new issue or PR.
solves issue #8 by adding relations for non-trivial attribute types