Struct UnsubscribeMessage
public readonly struct UnsubscribeMessage
- Inherited Members
Constructors
UnsubscribeMessage(long)
public UnsubscribeMessage(long key)
Parameters
key
long
Properties
Key
public long Key { get; }
Property Value
Methods
Equals(UnsubscribeMessage)
public bool Equals(UnsubscribeMessage other)
Parameters
other
UnsubscribeMessage
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
FromReader(BinaryReader)
public static UnsubscribeMessage FromReader(BinaryReader reader)
Parameters
reader
BinaryReader
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.
Write(BinaryWriter)
public void Write(BinaryWriter writer)
Parameters
writer
BinaryWriter