IAssembly Interface
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Provides a unified interface for accessing assembly metadata.
public interface IAssembly : IWithCustomAttributes, IMetadataAdapter<Assembly>- Extends
- Implemented by
Remarks
This interface abstracts assembly metadata access, allowing consistent operations regardless of how the assembly is loaded (e.g., Common Language Runtime or MetadataLoadContext).
Properties
| Attributes | Gets a dictionary of metadata attributes of the assembly. |
| ExportedTypes | Gets the types exported by the assembly. |
| Identity | Gets the identity of the assembly. |
| IsReflectionOnly | Gets a value indicating whether the assembly is loaded in reflection-only context. |
| IsStronglyNamed | Gets a value indicating whether the assembly is strongly named. |
| Modules | Gets the modules defined in the assembly. |
| Name | Gets the simple name of the assembly. |
| Namespaces | Gets the namespaces exported by the assembly and their associated types. |
| ReferencedAssemblies | Gets the identity of assemblies referenced by this assembly. |
| Repository | Gets the repository used to create and cache member metadata of the assembly. |
Methods
| TryGetType(string, out IType) | Attempts to retrieve metadata of a type exported by the assembly using its full name. |
