jeudi 15 septembre 2016

Get type from generic type fullname

I would like to get type from generic type fullname like that :

var myType = Type.GetType("MyProject.MyGenericType<MyProject.MySimpleType, MyProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]");

But it seems to not work with generics types like that...

What is the good method to do that ?





Aucun commentaire:

Enregistrer un commentaire