mardi 3 mars 2020

Is there a way to get properties which has set method?

I have a class which contains properties. Some of them are just getters that creates necessary information for me.

In one of my BLs service i am currently creating a mapper to my entity from another's api dictionary with some Reflection methods. Main problem is that there is no easy to find solution for separation properties without set method from those which does have it.

I checked BindingFlags but didnt find any that suits for this case. Sure there must be an in-built solution for it.

Any suggestions?





Aucun commentaire:

Enregistrer un commentaire