jeudi 28 juillet 2016

How can I get an object from a different assembly?

I have a Web API project whose assembly I've gotten with

Assembly ass = typeof(SomeClassInTheAssemblyIWant).Assembly;

Now I want to access the same object that is accessed by

System.Web.Routing.RouteTable.Routes

within the project for that assembly.

Hope that makes sense.





Aucun commentaire:

Enregistrer un commentaire