Reflecting Namespace

  • Thread starter Thread starter yoshijg
  • Start date Start date
Y

yoshijg

Is there a way to retrieve a list of "Types" that exist within a given
namespace?

Some kind of reflection?
 
yoshijg said:
Is there a way to retrieve a list of "Types" that exist within a given
namespace?

Some kind of reflection?

You can only do this on a per-assembly basis, because any number of
assemblies can contribute to a namespace. Basically, iterate through
all the types in an assembly (Assembly.GetTypes) and check the
namespace for each type.
 
Back
Top