Class Message
- Namespace
- EasyNetQ.Management.Client.Model
- Assembly
- EasyNetQ.Management.Client.dll
public record Message : IEquatable<Message>
- Inheritance
-
Message
- Implements
-
- Inherited Members
-
Constructors
Message(Message)
protected Message(Message original)
Parameters
original
Message
Message(int, bool, string, string, int, IReadOnlyDictionary<string, object?>, string, string)
public Message(int PayloadBytes, bool Redelivered, string Exchange, string RoutingKey, int MessageCount, IReadOnlyDictionary<string, object?> Properties, string Payload, string PayloadEncoding)
Parameters
PayloadBytes
int
Redelivered
bool
Exchange
string
RoutingKey
string
MessageCount
int
Properties
IReadOnlyDictionary<string, object>
Payload
string
PayloadEncoding
string
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
Exchange
public string Exchange { get; init; }
Property Value
- string
MessageCount
public int MessageCount { get; init; }
Property Value
- int
Payload
public string Payload { get; init; }
Property Value
- string
PayloadBytes
public int PayloadBytes { get; init; }
Property Value
- int
PayloadEncoding
public string PayloadEncoding { get; init; }
Property Value
- string
Properties
[JsonConverter(typeof(StringObjectReadOnlyDictionaryConverter))]
public IReadOnlyDictionary<string, object?> Properties { get; init; }
Property Value
- IReadOnlyDictionary<string, object>
Redelivered
public bool Redelivered { get; init; }
Property Value
- bool
RoutingKey
public string RoutingKey { get; init; }
Property Value
- string
Methods
Deconstruct(out int, out bool, out string, out string, out int, out IReadOnlyDictionary<string, object?>, out string, out string)
public void Deconstruct(out int PayloadBytes, out bool Redelivered, out string Exchange, out string RoutingKey, out int MessageCount, out IReadOnlyDictionary<string, object?> Properties, out string Payload, out string PayloadEncoding)
Parameters
PayloadBytes
int
Redelivered
bool
Exchange
string
RoutingKey
string
MessageCount
int
Properties
IReadOnlyDictionary<string, object>
Payload
string
PayloadEncoding
string
Equals(Message?)
public virtual bool Equals(Message? other)
Parameters
other
Message
Returns
- bool
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
- bool
ToString()
public override string ToString()
Returns
- string
<Clone>$()
public virtual Message <Clone>$()
Returns
- Message
Operators
operator ==(Message?, Message?)
public static bool operator ==(Message? left, Message? right)
Parameters
left
Message
right
Message
Returns
- bool
operator !=(Message?, Message?)
public static bool operator !=(Message? left, Message? right)
Parameters
left
Message
right
Message
Returns
- bool