WasmImportInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly import entry.
public sealed record WasmImportInfo : IEquatable<WasmImportInfo>Inheritance
Section titled “Inheritance”Object → WasmImportInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”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; }ModuleName
Section titled “ModuleName”The imported module name.
Returns: String
public string ModuleName { get; init; }The imported item name.
Returns: String
public string Name { get; init; }TypeIndex
Section titled “TypeIndex”The function type index for function imports, or null.
Returns: Nullable<Int32>
public int? TypeIndex { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string, out WasmExternalKind, out int, out int?)
Section titled “Deconstruct(out string, out string, out WasmExternalKind, out int, out int?)”Parameters:
ModuleName(String)Name(String)Kind(WasmExternalKind)Index(Int32)TypeIndex(Nullable<Int32>)
public void Deconstruct(out string ModuleName, out string Name, out WasmExternalKind Kind, out int Index, out int? TypeIndex)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(WasmImportInfo?)
Section titled “Equals(WasmImportInfo?)”Parameters:
other(WasmImportInfo)
Returns: Boolean
public bool Equals(WasmImportInfo? other)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(WasmImportInfo?, WasmImportInfo?)
Section titled “operator !=(WasmImportInfo?, WasmImportInfo?)”Parameters:
left(WasmImportInfo)right(WasmImportInfo)
Returns: Boolean
public static bool operator !=(WasmImportInfo? left, WasmImportInfo? right)operator ==(WasmImportInfo?, WasmImportInfo?)
Section titled “operator ==(WasmImportInfo?, WasmImportInfo?)”Parameters:
left(WasmImportInfo)right(WasmImportInfo)
Returns: Boolean
public static bool operator ==(WasmImportInfo? left, WasmImportInfo? right)