Skip to main content

Struct ImportDescriptor

Descriptor of an import entry.

Assembly: WaaS.Core.dll
View Source
Declaration
public readonly struct ImportDescriptor : IEquatable<ImportDescriptor>

Implements:
System.IEquatable<WaaS.Models.ImportDescriptor>

Properties

Kind

View Source
Declaration
public ImportKind Kind { get; }

TypeIndex

View Source
Declaration
public uint? TypeIndex { get; }

TableType

View Source
Declaration
public TableType? TableType { get; }

MemoryType

View Source
Declaration
public MemoryType? MemoryType { get; }

GlobalType

View Source
Declaration
public GlobalType? GlobalType { get; }

Methods

Equals(ImportDescriptor)

Indicates whether the current object is equal to another object of the same type.

View Source
Declaration
public bool Equals(ImportDescriptor other)
Returns

System.Boolean: true if the current object is equal to the <code class="paramref">other</code> parameter; otherwise, false.

Parameters
TypeNameDescription
WaaS.Models.ImportDescriptorotherAn object to compare with this object.

Equals(object)

Indicates whether this instance and a specified object are equal.

View Source
Declaration
public override bool Equals(object obj)
Returns

System.Boolean: true if <code class="paramref">obj</code> and this instance are the same type and represent the same value; otherwise, false.

Parameters
TypeNameDescription
System.ObjectobjThe object to compare with the current instance.

GetHashCode()

Returns the hash code for this instance.

View Source
Declaration
public override int GetHashCode()
Returns

System.Int32: A 32-bit signed integer that is the hash code for this instance.

Implements

  • System.IEquatable<WaaS.Models.ImportDescriptor>