class A {
[TextSize(256)]
string Name { get; set; }
}
So using runtime/reflection I can retrieve the TextSize value associated to A.name property.
Does D have something similar?
Marc via Digitalmars-d-learn Sat, 16 Dec 2017 12:00:48 -0800
class A {
[TextSize(256)]
string Name { get; set; }
}
So using runtime/reflection I can retrieve the TextSize value associated to A.name property.
Does D have something similar?