vendredi 10 juin 2016

How to retrieve generic argument with reflection

If i have some class like this

interface IDeclaration<T> {...}

how should i implement check if instance of my particular class derived from IDeclaration<T> and if so - what is the type T in our particular case.

Thank you in advance





Aucun commentaire:

Enregistrer un commentaire