Name
Module
Synopsis
Modules are .NET executable files (either .EXE or .DLL files)
consisting of classes or interfaces. One or more modules and other
resources (such as graphics) make up an assembly. The
Module class allows reflection
of these executables.
FilterTypeName and
FilterTypeNameIgnoreCase
are static properties that return a
TypeFilter delegate that
filters types by name. The first is case-sensitive, and the second
is case-insensitive.
Assembly returns the
appropriate Assembly object
that this is part of.
Name returns the
filename of this module and
FullyQualifiedName
returns that filename as well as the full path. Use
FindTypes() to return a
list of types from a module accepted by a
TypeFilter delegate. The
methods prefixed with Get return the specific
methods, types, or fields contained in this module, and
IsDefined() checks
whether a specific attribute is defined on the module.
public class Module : System.Runtime.Serialization.ISerializable, ICustomAttributeProvider { // Public Static Fields public static readonly field TypeFilter FilterTypeName; // =System.Reflection.TypeFilter public static readonly field TypeFilter FilterTypeNameIgnoreCase; // =System.Reflection.TypeFilter // Public Instance Properties public field Assembly Assembly{get; } public virtual field string FullyQualifiedName{get; } public field string Name{get; } public field string ScopeName{get; } // Public Instance Methods public virtual method Type[] FindTypes(TypeFilter filter, object filterCriteria ...