Skip to content

WasmSectionsPayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

A WebAssembly section inventory. 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 WasmSectionsPayload : IEquatable<WasmSectionsPayload>

ObjectWasmSectionsPayload

WasmSectionsPayload(string, int, IReadOnlyList<WasmSectionPayload>)

Section titled “WasmSectionsPayload(string, int, IReadOnlyList<WasmSectionPayload>)”

A WebAssembly section inventory. 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 WasmSectionsPayload(string FilePath, int SectionCount, IReadOnlyList<WasmSectionPayload> Sections)

Returns: String

public string FilePath { get; init; }

Returns: Int32

public int SectionCount { get; init; }

Returns: IReadOnlyList<WasmSectionPayload>

public IReadOnlyList<WasmSectionPayload> Sections { get; init; }

Deconstruct(out string, out int, out IReadOnlyList<WasmSectionPayload>)

Section titled “Deconstruct(out string, out int, out IReadOnlyList<WasmSectionPayload>)”

Parameters:

public void Deconstruct(out string FilePath, out int SectionCount, out IReadOnlyList<WasmSectionPayload> Sections)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(WasmSectionsPayload? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(WasmSectionsPayload?, WasmSectionsPayload?)

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

Parameters:

Returns: Boolean

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

operator ==(WasmSectionsPayload?, WasmSectionsPayload?)

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

Parameters:

Returns: Boolean

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