Struct DeserializedMessage
Assembly: Silverback.Integration.dll
Syntax
public struct DeserializedMessage : IEquatable<DeserializedMessage>
Constructors
DeserializedMessage(object?, Type)
Declaration
public DeserializedMessage(object? Message, Type MessageType)
Parameters
| Type |
Name |
Description |
| object |
Message |
The deserialized message.
|
| Type |
MessageType |
The message type, which should be filled with the expected type even if the message body is null.
|
Properties
Message
The deserialized message.
Declaration
public object? Message { readonly get; set; }
Property Value
MessageType
The message type, which should be filled with the expected type even if the message body is null.
Declaration
public Type MessageType { readonly get; set; }
Property Value
Methods
Deconstruct(out object?, out Type)
Declaration
public readonly void Deconstruct(out object? Message, out Type MessageType)
Parameters
| Type |
Name |
Description |
| object |
Message |
|
| Type |
MessageType |
|
Equals(DeserializedMessage)
Declaration
public readonly bool Equals(DeserializedMessage other)
Parameters
Returns
Equals(object)
Declaration
public override readonly bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override readonly string ToString()
Returns
Overrides
Operators
operator ==(DeserializedMessage, DeserializedMessage)
Declaration
public static bool operator ==(DeserializedMessage left, DeserializedMessage right)
Parameters
Returns
operator !=(DeserializedMessage, DeserializedMessage)
Declaration
public static bool operator !=(DeserializedMessage left, DeserializedMessage right)
Parameters
Returns
Implements