Struct ClientMessage
Defines information about a client message.
public readonly record struct ClientMessage : IEquatable<ClientMessage>
- Implements
- Inherited Members
Constructors
ClientMessage(ClientType, Direction, short, string)
Defines information about a client message.
public ClientMessage(ClientType Client, Direction Direction, short Header, string Name)
Parameters
Client
ClientTypeDirection
DirectionHeader
shortName
string
Properties
Client
public ClientType Client { get; init; }
Property Value
Direction
public Direction Direction { get; init; }
Property Value
Header
public short Header { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Methods
Equals(ClientMessage)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ClientMessage other)
Parameters
other
ClientMessageAn object to compare with this object.
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
implicit operator ClientMessage((ClientType client, Direction dir, short header, string name))
public static implicit operator ClientMessage((ClientType client, Direction dir, short header, string name) x)