IModuleDefinition Interface

Represetns a module defintion containing specific metadata from an assembly.

Namespace: JustDecompile.API.Core
Assembly: JustDecompile.API (in JustDecompile.API.dll) Version: 1.0.0.3 (1.0.0.0)

Syntax

C#
public interface IModuleDefinition : IModuleReference, 
    IMetadataScope, IMetadataTokenProvider

TheIModuleDefinitiontype exposes the following members.

Properties

Name Description
Public property Architecture Gets the module defintion's target architecture.
Public property Assembly Gets the assembly in which the module resides.
Public property AssemblyReferences Gets the assemblies referenced by this module.
Public property Attributes Gets the attributes of the module.
Public property CustomAttributes Gets the custom attributes of this module.
Public property EntryPoint Gets the entry point of this module.
Public property ExportedTypes Gets the exported types of the module.
Public property FilePath Gets the module's assembly file path.
Public property HasAssemblyReferences Gets a value indicating whether the module references other assemblies.
Public property HasCustomAttributes Gets a value indicating whether the module has custom attributes.
Public property HasDebugHeader Gets a value indicating whether the module has a debug header.
Public property HasExportedTypes Gets a value indicating whether the module contains exported types.
Public property HasModuleReferences Gets a value indicating whether the module references other modules.
Public property HasResources Gets a value indicating whether the module contains resources.
Public property HasSymbols Gets a value indicating whether there are debug symbols loaded for this module.
Public property HasTypes Gets a value indicating whether the module contains type definitions.
Public property IsMain Gets a value indicating whether the module is the main module of its assembly.
Public property Kind Gets the module defintion's kind.
Public property MetadataScopeType Gets the type of the metadata scope. (Inherited from IModuleReference.)
Public property MetadataToken Gets the metadata token of the module. (Inherited from IModuleReference.)
Public property ModuleReferences Gets the modules referenced by this module.
Public property Mvid Gets the MVID (Module Version ID) of the module.
Public property Name Gets the name of the module. (Inherited from IModuleReference.)
Public property Resources Gets the resources of the module.
Public property Runtime Gets the module defintion's runtime.
Public property Types Gets the types defined in this module.

Methods

Name Description
Public method GetType(String) Gets the specified type.
Public method GetType(String, Boolean) Gets the specified type.
Public method GetType(String, String) Gets the specified type.
Public method GetTypes Gets the types defined in this module.
Public method HasTypeReference(String) Determines whether the module contains a reference of the specified type.
Public method HasTypeReference(String, String) Determines whether the module contains a reference of the specified type that has the specified scope.
Public method TryGetTypeReference(String, ITypeReference) Tries to get a reference of the specified type.
Public method TryGetTypeReference(String, String, ITypeReference) Tries to get a reference of the specified type.

See Also

JustDecompile.API.Core Namespace

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy