Skip to content

MessagePayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

A status or queued-operation message. 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 MessagePayload : IEquatable<MessagePayload>

ObjectMessagePayload

A status or queued-operation message. 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 MessagePayload(string Message)

Returns: String

public string Message { get; init; }

Parameters:

public void Deconstruct(out string Message)

Parameters:

Returns: Boolean

public bool Equals(MessagePayload? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(MessagePayload?, MessagePayload?)

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

Parameters:

Returns: Boolean

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

operator ==(MessagePayload?, MessagePayload?)

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

Parameters:

Returns: Boolean

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