I have this interface and its implementation:
public interface IInterface<TParam>
{
void Execute(TParam param);
}
public class Impl : IInterface<int>
{
public void Execute(int param);
{
...
}
}
How to get TParam type using reflection from typeof(Impl)?
Aucun commentaire:
Enregistrer un commentaire