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>Inheritance
Section titled “Inheritance”Object → MessagePayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MessagePayload(string)
Section titled “MessagePayload(string)”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:
Message(String)
public MessagePayload(string Message)Properties
Section titled “Properties”Message
Section titled “Message”Returns: String
public string Message { get; init; }Methods
Section titled “Methods”Deconstruct(out string)
Section titled “Deconstruct(out string)”Parameters:
Message(String)
public void Deconstruct(out string Message)Equals(MessagePayload?)
Section titled “Equals(MessagePayload?)”Parameters:
other(MessagePayload)
Returns: Boolean
public bool Equals(MessagePayload? 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 !=(MessagePayload?, MessagePayload?)
Section titled “operator !=(MessagePayload?, MessagePayload?)”Parameters:
left(MessagePayload)right(MessagePayload)
Returns: Boolean
public static bool operator !=(MessagePayload? left, MessagePayload? right)operator ==(MessagePayload?, MessagePayload?)
Section titled “operator ==(MessagePayload?, MessagePayload?)”Parameters:
left(MessagePayload)right(MessagePayload)
Returns: Boolean
public static bool operator ==(MessagePayload? left, MessagePayload? right)