MstatWhyPayload
Namespace: Dotsider.Core.Protocol
Assembly: Dotsider.Core.dll
Outcome of a Native AOT dependency explanation 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 MstatWhyPayload : IEquatable<MstatWhyPayload>Inheritance
Section titled “Inheritance”Object → MstatWhyPayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MstatWhyPayload(string, MstatSourceSummaryPayload, string, string?, int?, IReadOnlyList<MstatCandidatePayload>?, bool?, MstatContributorPayload?)
Section titled “MstatWhyPayload(string, MstatSourceSummaryPayload, string, string?, int?, IReadOnlyList<MstatCandidatePayload>?, bool?, MstatContributorPayload?)”Outcome of a Native AOT dependency explanation 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:
Target(String)Source(MstatSourceSummaryPayload)Outcome(String)Message(String)CandidateCount(Nullable<Int32>)Candidates(IReadOnlyList<MstatCandidatePayload>)Truncated(Nullable<Boolean>)Contributor(MstatContributorPayload)
public MstatWhyPayload(string Target, MstatSourceSummaryPayload Source, string Outcome, string? Message = null, int? CandidateCount = null, IReadOnlyList<MstatCandidatePayload>? Candidates = null, bool? Truncated = null, MstatContributorPayload? Contributor = null)Properties
Section titled “Properties”CandidateCount
Section titled “CandidateCount”Returns: Nullable<Int32>
public int? CandidateCount { get; init; }Candidates
Section titled “Candidates”Returns: IReadOnlyList<MstatCandidatePayload>
public IReadOnlyList<MstatCandidatePayload>? Candidates { get; init; }Contributor
Section titled “Contributor”Returns: MstatContributorPayload
public MstatContributorPayload? Contributor { get; init; }Message
Section titled “Message”Returns: String
public string? Message { get; init; }Outcome
Section titled “Outcome”Returns: String
public string Outcome { get; init; }Source
Section titled “Source”Returns: MstatSourceSummaryPayload
public MstatSourceSummaryPayload Source { get; init; }Target
Section titled “Target”Returns: String
public string Target { get; init; }Truncated
Section titled “Truncated”Returns: Nullable<Boolean>
public bool? Truncated { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out MstatSourceSummaryPayload, out string, out string?, out int?, out IReadOnlyList<MstatCandidatePayload>?, out bool?, out MstatContributorPayload?)
Section titled “Deconstruct(out string, out MstatSourceSummaryPayload, out string, out string?, out int?, out IReadOnlyList<MstatCandidatePayload>?, out bool?, out MstatContributorPayload?)”Parameters:
Target(String)Source(MstatSourceSummaryPayload)Outcome(String)Message(String)CandidateCount(Nullable<Int32>)Candidates(IReadOnlyList<MstatCandidatePayload>)Truncated(Nullable<Boolean>)Contributor(MstatContributorPayload)
public void Deconstruct(out string Target, out MstatSourceSummaryPayload Source, out string Outcome, out string? Message, out int? CandidateCount, out IReadOnlyList<MstatCandidatePayload>? Candidates, out bool? Truncated, out MstatContributorPayload? Contributor)Equals(MstatWhyPayload?)
Section titled “Equals(MstatWhyPayload?)”Parameters:
other(MstatWhyPayload)
Returns: Boolean
public bool Equals(MstatWhyPayload? 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 !=(MstatWhyPayload?, MstatWhyPayload?)
Section titled “operator !=(MstatWhyPayload?, MstatWhyPayload?)”Parameters:
left(MstatWhyPayload)right(MstatWhyPayload)
Returns: Boolean
public static bool operator !=(MstatWhyPayload? left, MstatWhyPayload? right)operator ==(MstatWhyPayload?, MstatWhyPayload?)
Section titled “operator ==(MstatWhyPayload?, MstatWhyPayload?)”Parameters:
left(MstatWhyPayload)right(MstatWhyPayload)
Returns: Boolean
public static bool operator ==(MstatWhyPayload? left, MstatWhyPayload? right)