vendredi 21 juillet 2017

Reflection in C#

In Java I have:

Reflections reflections = new Reflections("my.project.methods"); 
Set<Class<?>> annotated = reflections.getTypesAnnotatedWith(SomeAnnotation.class);

How can I achieve it in C#? I need use namespace where my classes with methods are? But how to do that?





Aucun commentaire:

Enregistrer un commentaire