Reflection in D

medhi558 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 27 13:02:13 PST 2017


Hello, I would like to know if it is possible to recover all 
classes in the project in D.

Example in c# :

Assembly asm = Assembly.GetAssembly(typeof(MyClass));

foreach (Type type in asm.GetTypes())
{
}


More information about the Digitalmars-d-learn mailing list