WasmImport Class

An import of a module.

public sealed class WasmImport : IEquatable<WasmImport>
Implements

Constructors

NameDescription
WasmImport(string, string, WasmExternType)An import of a module.

WasmImport(string, string, WasmExternType)

WasmTypes.cs

An import of a module.

public WasmImport(string Module, string Name, WasmExternType Type)

Parameters

Module string
The name of the module of the import.
Name string
The name of the import.
Type WasmExternType
The type of the import.

Properties

NameDescription
ModuleThe name of the module of the import.
NameThe name of the import.
TypeThe type of the import.

The name of the module of the import.

public string Module { get; init; }

Property value

string

The name of the import.

public string Name { get; init; }

Property value

string

The type of the import.

public WasmExternType Type { get; init; }

Property value

WasmExternType

Methods

NameDescription
Deconstruct(string, string, WasmExternType)
Equals(WasmImport?)
Equals(object?)
GetHashCode()
ToString()

Deconstruct(string, string, WasmExternType)

public void Deconstruct(out string Module, out string Name, out WasmExternType Type)

Parameters

Module string
Name string
Type WasmExternType

No documentation is available.

Equals overloads

Equals(WasmImport?)

public bool Equals(WasmImport? other)
Parameters
other WasmImport?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(WasmImport?, WasmImport?)
operator !=(WasmImport?, WasmImport?)

operator ==(WasmImport?, WasmImport?)

public static bool operator ==(WasmImport? left, WasmImport? right)

Parameters

left WasmImport?
right WasmImport?

Returns

bool

No documentation is available.

operator !=(WasmImport?, WasmImport?)

public static bool operator !=(WasmImport? left, WasmImport? right)

Parameters

left WasmImport?
right WasmImport?

Returns

bool

No documentation is available.