Show / Hide Table of Contents

    Struct DeserializedMessage

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Implements
    IEquatable<DeserializedMessage>
    Inherited Members
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Serialization
    Assembly: Silverback.Integration.dll
    Syntax
    public struct DeserializedMessage : IEquatable<DeserializedMessage>

    Constructors

    DeserializedMessage(object?, Type)

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    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
    Type Description
    object

    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
    Type Description
    Type

    Methods

    Deconstruct(out object?, out Type)

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Declaration
    public readonly void Deconstruct(out object? Message, out Type MessageType)
    Parameters
    Type Name Description
    object Message
    Type MessageType

    Equals(DeserializedMessage)

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Declaration
    public readonly bool Equals(DeserializedMessage other)
    Parameters
    Type Name Description
    DeserializedMessage other
    Returns
    Type Description
    bool

    Equals(object)

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Declaration
    public override readonly bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Declaration
    public override readonly string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(DeserializedMessage, DeserializedMessage)

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Declaration
    public static bool operator ==(DeserializedMessage left, DeserializedMessage right)
    Parameters
    Type Name Description
    DeserializedMessage left
    DeserializedMessage right
    Returns
    Type Description
    bool

    operator !=(DeserializedMessage, DeserializedMessage)

    The result of DeserializeAsync(Stream?, MessageHeaderCollection, ConsumerEndpoint).

    Declaration
    public static bool operator !=(DeserializedMessage left, DeserializedMessage right)
    Parameters
    Type Name Description
    DeserializedMessage left
    DeserializedMessage right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini