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>Inheritance
Section titled “Inheritance”Object → WasmSectionsPayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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:
FilePath(String)SectionCount(Int32)Sections(IReadOnlyList<WasmSectionPayload>)
public WasmSectionsPayload(string FilePath, int SectionCount, IReadOnlyList<WasmSectionPayload> Sections)Properties
Section titled “Properties”FilePath
Section titled “FilePath”Returns: String
public string FilePath { get; init; }SectionCount
Section titled “SectionCount”Returns: Int32
public int SectionCount { get; init; }Sections
Section titled “Sections”Returns: IReadOnlyList<WasmSectionPayload>
public IReadOnlyList<WasmSectionPayload> Sections { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out int, out IReadOnlyList<WasmSectionPayload>)
Section titled “Deconstruct(out string, out int, out IReadOnlyList<WasmSectionPayload>)”Parameters:
FilePath(String)SectionCount(Int32)Sections(IReadOnlyList<WasmSectionPayload>)
public void Deconstruct(out string FilePath, out int SectionCount, out IReadOnlyList<WasmSectionPayload> Sections)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(WasmSectionsPayload?)
Section titled “Equals(WasmSectionsPayload?)”Parameters:
other(WasmSectionsPayload)
Returns: Boolean
public bool Equals(WasmSectionsPayload? 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 !=(WasmSectionsPayload?, WasmSectionsPayload?)
Section titled “operator !=(WasmSectionsPayload?, WasmSectionsPayload?)”Parameters:
left(WasmSectionsPayload)right(WasmSectionsPayload)
Returns: Boolean
public static bool operator !=(WasmSectionsPayload? left, WasmSectionsPayload? right)operator ==(WasmSectionsPayload?, WasmSectionsPayload?)
Section titled “operator ==(WasmSectionsPayload?, WasmSectionsPayload?)”Parameters:
left(WasmSectionsPayload)right(WasmSectionsPayload)
Returns: Boolean
public static bool operator ==(WasmSectionsPayload? left, WasmSectionsPayload? right)