[Reflection API] Getting name of the module in which a type was declared? #11364
papasitopapi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Like the title says, for a given type in my program I would like to know the module in which it was declared.
My current approach is to
And, when iterating a ProgramLayout, I check the TypeReflection* encountered against the map to retrieve its module:
My questions are:
Beta Was this translation helpful? Give feedback.
All reactions