Skip to content

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>

ObjectMstatWhyPayload

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:

public MstatWhyPayload(string Target, MstatSourceSummaryPayload Source, string Outcome, string? Message = null, int? CandidateCount = null, IReadOnlyList<MstatCandidatePayload>? Candidates = null, bool? Truncated = null, MstatContributorPayload? Contributor = null)

Returns: Nullable<Int32>

public int? CandidateCount { get; init; }

Returns: IReadOnlyList<MstatCandidatePayload>

public IReadOnlyList<MstatCandidatePayload>? Candidates { get; init; }

Returns: MstatContributorPayload

public MstatContributorPayload? Contributor { get; init; }

Returns: String

public string? Message { get; init; }

Returns: String

public string Outcome { get; init; }

Returns: MstatSourceSummaryPayload

public MstatSourceSummaryPayload Source { get; init; }

Returns: String

public string Target { get; init; }

Returns: Nullable<Boolean>

public bool? Truncated { get; init; }

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:

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)

Parameters:

Returns: Boolean

public bool Equals(MstatWhyPayload? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(MstatWhyPayload?, MstatWhyPayload?)

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

Parameters:

Returns: Boolean

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

operator ==(MstatWhyPayload?, MstatWhyPayload?)

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

Parameters:

Returns: Boolean

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