MstatCandidatePayload
Namespace: Dotsider.Core.Protocol
Assembly: Dotsider.Core.dll
A possible match for an ambiguous mstat query. 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 MstatCandidatePayload : IEquatable<MstatCandidatePayload>Inheritance
Section titled “Inheritance”Object → MstatCandidatePayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MstatCandidatePayload(MstatSectionKind, string, string, string, long, int, IReadOnlyList<string>)
Section titled “MstatCandidatePayload(MstatSectionKind, string, string, string, long, int, IReadOnlyList<string>)”A possible match for an ambiguous mstat query. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
Parameters:
Section(MstatSectionKind)Key(String)FullPath(String)DisplayName(String)Size(Int64)EntryCount(Int32)NodeNames(IReadOnlyList<String>)
public MstatCandidatePayload(MstatSectionKind Section, string Key, string FullPath, string DisplayName, long Size, int EntryCount, IReadOnlyList<string> NodeNames)Properties
Section titled “Properties”DisplayName
Section titled “DisplayName”Returns: String
public string DisplayName { get; init; }EntryCount
Section titled “EntryCount”Returns: Int32
public int EntryCount { get; init; }FullPath
Section titled “FullPath”Returns: String
public string FullPath { get; init; }Returns: String
public string Key { get; init; }NodeNames
Section titled “NodeNames”Returns: IReadOnlyList<String>
public IReadOnlyList<string> NodeNames { get; init; }Section
Section titled “Section”Returns: MstatSectionKind
public MstatSectionKind Section { get; init; }Returns: Int64
public long Size { get; init; }Methods
Section titled “Methods”Deconstruct(out MstatSectionKind, out string, out string, out string, out long, out int, out IReadOnlyList<string>)
Section titled “Deconstruct(out MstatSectionKind, out string, out string, out string, out long, out int, out IReadOnlyList<string>)”Parameters:
Section(MstatSectionKind)Key(String)FullPath(String)DisplayName(String)Size(Int64)EntryCount(Int32)NodeNames(IReadOnlyList<String>)
public void Deconstruct(out MstatSectionKind Section, out string Key, out string FullPath, out string DisplayName, out long Size, out int EntryCount, out IReadOnlyList<string> NodeNames)Equals(MstatCandidatePayload?)
Section titled “Equals(MstatCandidatePayload?)”Parameters:
other(MstatCandidatePayload)
Returns: Boolean
public bool Equals(MstatCandidatePayload? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)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 !=(MstatCandidatePayload?, MstatCandidatePayload?)
Section titled “operator !=(MstatCandidatePayload?, MstatCandidatePayload?)”Parameters:
left(MstatCandidatePayload)right(MstatCandidatePayload)
Returns: Boolean
public static bool operator !=(MstatCandidatePayload? left, MstatCandidatePayload? right)operator ==(MstatCandidatePayload?, MstatCandidatePayload?)
Section titled “operator ==(MstatCandidatePayload?, MstatCandidatePayload?)”Parameters:
left(MstatCandidatePayload)right(MstatCandidatePayload)
Returns: Boolean
public static bool operator ==(MstatCandidatePayload? left, MstatCandidatePayload? right)