dimanche 7 août 2016

How can get all non-static members of a type?

__traits(allMembers, T) returns both instance and static members. How can I filter out the static members? I'd like this to work for both fields and methods.





Aucun commentaire:

Enregistrer un commentaire