Skip to content

SessionInfoPayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

Assembly and view state returned for one live session. 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 SessionInfoPayload : IEquatable<SessionInfoPayload>

ObjectSessionInfoPayload

SessionInfoPayload(JsonElement?, JsonElement?)

Section titled “SessionInfoPayload(JsonElement?, JsonElement?)”

Assembly and view state returned for one live session. 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 SessionInfoPayload(JsonElement? Assembly, JsonElement? View)

Returns: Nullable<JsonElement>

public JsonElement? Assembly { get; init; }

Returns: Nullable<JsonElement>

public JsonElement? View { get; init; }

Deconstruct(out JsonElement?, out JsonElement?)

Section titled “Deconstruct(out JsonElement?, out JsonElement?)”

Parameters:

public void Deconstruct(out JsonElement? Assembly, out JsonElement? View)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(SessionInfoPayload? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(SessionInfoPayload?, SessionInfoPayload?)

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

Parameters:

Returns: Boolean

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

operator ==(SessionInfoPayload?, SessionInfoPayload?)

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

Parameters:

Returns: Boolean

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