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>Inheritance
Section titled “Inheritance”Object → WasmSectionPayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”FileOffset
Section titled “FileOffset”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; }Methods
Section titled “Methods”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)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(WasmSectionPayload?)
Section titled “Equals(WasmSectionPayload?)”Parameters:
other(WasmSectionPayload)
Returns: Boolean
public bool Equals(WasmSectionPayload? 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 !=(WasmSectionPayload?, WasmSectionPayload?)
Section titled “operator !=(WasmSectionPayload?, WasmSectionPayload?)”Parameters:
left(WasmSectionPayload)right(WasmSectionPayload)
Returns: Boolean
public static bool operator !=(WasmSectionPayload? left, WasmSectionPayload? right)operator ==(WasmSectionPayload?, WasmSectionPayload?)
Section titled “operator ==(WasmSectionPayload?, WasmSectionPayload?)”Parameters:
left(WasmSectionPayload)right(WasmSectionPayload)
Returns: Boolean
public static bool operator ==(WasmSectionPayload? left, WasmSectionPayload? right)