Skip to content

WasmSectionPayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

A WebAssembly section row. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

public sealed record WasmSectionPayload : IEquatable<WasmSectionPayload>

ObjectWasmSectionPayload

WasmSectionPayload(byte, string, long, long)

Section titled “WasmSectionPayload(byte, string, long, long)”

A WebAssembly section row. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

Parameters:

public WasmSectionPayload(byte Id, string Name, long FileOffset, long Size)

Returns: Int64

public long FileOffset { get; init; }

Returns: Byte

public byte Id { get; init; }

Returns: String

public string Name { get; init; }

Returns: Int64

public long Size { get; init; }

Deconstruct(out byte, out string, out long, out long)

Section titled “Deconstruct(out byte, out string, out long, out long)”

Parameters:

public void Deconstruct(out byte Id, out string Name, out long FileOffset, out long Size)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(WasmSectionPayload? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(WasmSectionPayload?, WasmSectionPayload?)

Section titled “operator !=(WasmSectionPayload?, WasmSectionPayload?)”

Parameters:

Returns: Boolean

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

operator ==(WasmSectionPayload?, WasmSectionPayload?)

Section titled “operator ==(WasmSectionPayload?, WasmSectionPayload?)”

Parameters:

Returns: Boolean

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