Table of Contents

Class ModuleReaderParameters

Namespace
AsmResolver.DotNet.Serialized
Assembly
AsmResolver.DotNet.dll

Provides parameters for the reading process of a .NET module.

public class ModuleReaderParameters
Inheritance
ModuleReaderParameters
Inherited Members

Constructors

ModuleReaderParameters()

Initializes the default module read parameters.

public ModuleReaderParameters()

ModuleReaderParameters(RuntimeContext)

Initializes the module read parameters with a file service.

public ModuleReaderParameters(RuntimeContext context)

Parameters

context RuntimeContext

The context the module should be read in.

ModuleReaderParameters(ModuleReaderParameters)

Clones the provided module reader parameters.

public ModuleReaderParameters(ModuleReaderParameters readerParameters)

Parameters

readerParameters ModuleReaderParameters

The parameters to clone.

ModuleReaderParameters(IErrorListener)

Initializes the module read parameters with an error listener.

public ModuleReaderParameters(IErrorListener errorListener)

Parameters

errorListener IErrorListener

The object responsible for recording parser errors.

ModuleReaderParameters(IFileService)

Initializes the module read parameters with a file service.

public ModuleReaderParameters(IFileService fileService)

Parameters

fileService IFileService

The file service to use when reading the file and dependencies.

ModuleReaderParameters(string?)

Initializes the module read parameters with a working directory.

public ModuleReaderParameters(string? workingDirectory)

Parameters

workingDirectory string

The working directory of the modules to read.

ModuleReaderParameters(string?, IErrorListener)

Initializes the module read parameters with a working directory.

public ModuleReaderParameters(string? workingDirectory, IErrorListener errorListener)

Parameters

workingDirectory string

The working directory of the modules to read.

errorListener IErrorListener

The object responsible for recording parser errors.

ModuleReaderParameters(string?, PEReaderParameters)

Initializes the module read parameters with a working directory.

public ModuleReaderParameters(string? workingDirectory, PEReaderParameters readerParameters)

Parameters

workingDirectory string

The working directory of the modules to read.

readerParameters PEReaderParameters

The parameters to use while reading the assembly and its dependencies.

Properties

FieldRvaDataReader

Gets or sets the field initial value reader.

public IFieldRvaDataReader FieldRvaDataReader { get; set; }

Property Value

IFieldRvaDataReader

MethodBodyReader

Gets or sets the method body parser.

public IMethodBodyReader MethodBodyReader { get; set; }

Property Value

IMethodBodyReader

ModuleResolver

Gets or sets the object used for resolving a net module.

public INetModuleResolver? ModuleResolver { get; set; }

Property Value

INetModuleResolver

PEReaderParameters

Gets or sets the parameters used for parsing a PE file into a PE image.

public PEReaderParameters PEReaderParameters { get; set; }

Property Value

PEReaderParameters

Remarks

This property is ignored when the module was read from a PEImage

RuntimeContext

Gets or sets the runtime context to load the module in, or null if a new context is to be created.

public RuntimeContext? RuntimeContext { get; set; }

Property Value

RuntimeContext

WorkingDirectory

Gets the working directory of the module to read.

public string? WorkingDirectory { get; }

Property Value

string