Class SerializedExportedType
- Namespace
- AsmResolver.DotNet.Serialized
- Assembly
- AsmResolver.DotNet.dll
Represents a lazily initialized implementation of ExportedType that is read from a .NET metadata image.
public class SerializedExportedType : ExportedType, IImplementation, IHasCustomAttribute, IMetadataMember, ITypeDescriptor, IMemberDescriptor, IFullNameProvider, INameProvider, IModuleProvider, IImportable, IOwnedCollectionElement<ModuleDefinition>
- Inheritance
-
SerializedExportedType
- Implements
- Inherited Members
- Extension Methods
Constructors
SerializedExportedType(ModuleReaderContext, MetadataToken, in ExportedTypeRow)
Creates a exported type from a exported type metadata row.
public SerializedExportedType(ModuleReaderContext context, MetadataToken token, in ExportedTypeRow row)
Parameters
context
ModuleReaderContextThe reader context.
token
MetadataTokenThe token to initialize the exported type for.
row
ExportedTypeRowThe metadata table row to base the exported type on.
Methods
GetCustomAttributes()
Obtains the list of custom attributes assigned to the member.
protected override IList<CustomAttribute> GetCustomAttributes()
Returns
- IList<CustomAttribute>
The attributes
Remarks
This method is called upon initialization of the CustomAttributes property.
GetImplementation()
Obtains the implementation of the exported type.
protected override IImplementation? GetImplementation()
Returns
- IImplementation
The name.
Remarks
This method is called upon initialization of the Implementation property.
GetName()
Obtains the name of the exported type.
protected override Utf8String? GetName()
Returns
- Utf8String
The name.
Remarks
This method is called upon initialization of the Name property.
GetNamespace()
Obtains the namespace of the exported type.
protected override Utf8String? GetNamespace()
Returns
- Utf8String
The namespace.
Remarks
This method is called upon initialization of the Namespace property.