Skip to content

WasmImportInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One WebAssembly import entry.

public sealed record WasmImportInfo : IEquatable<WasmImportInfo>

ObjectWasmImportInfo

WasmImportInfo(string, string, WasmExternalKind, int, int?)

Section titled “WasmImportInfo(string, string, WasmExternalKind, int, int?)”

One WebAssembly import entry.

Parameters:

  • ModuleName (String): The imported module name.
  • Name (String): The imported item name.
  • Kind (WasmExternalKind): The imported external kind.
  • Index (Int32): The import’s index within its index space when applicable.
  • TypeIndex (Nullable<Int32>): The function type index for function imports, or null.
public WasmImportInfo(string ModuleName, string Name, WasmExternalKind Kind, int Index, int? TypeIndex)

The import’s index within its index space when applicable.

Returns: Int32

public int Index { get; init; }

The imported external kind.

Returns: WasmExternalKind

public WasmExternalKind Kind { get; init; }

The imported module name.

Returns: String

public string ModuleName { get; init; }

The imported item name.

Returns: String

public string Name { get; init; }

The function type index for function imports, or null.

Returns: Nullable<Int32>

public int? TypeIndex { get; init; }