Show / Hide Table of Contents

    Class RawMessageSerializer

    This serializer just passed the RawMessage raw content to the producer.

    Inheritance
    object
    RawMessageSerializer
    Implements
    IMessageSerializer
    IEquatable<RawMessageSerializer>
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Serialization
    Assembly: Silverback.Integration.dll
    Syntax
    public sealed class RawMessageSerializer : IMessageSerializer, IEquatable<RawMessageSerializer>

    Constructors

    RawMessageSerializer()

    This serializer just passed the RawMessage raw content to the producer.

    Declaration
    public RawMessageSerializer()

    Methods

    Equals(RawMessageSerializer?)

    This serializer just passed the RawMessage raw content to the producer.

    Declaration
    public bool Equals(RawMessageSerializer? other)
    Parameters
    Type Name Description
    RawMessageSerializer other
    Returns
    Type Description
    bool

    Equals(object?)

    This serializer just passed the RawMessage raw content to the producer.

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

    GetHashCode()

    This serializer just passed the RawMessage raw content to the producer.

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

    SerializeAsync(object?, MessageHeaderCollection, ProducerEndpoint)

    Serializes the specified message object into a byte array.

    Declaration
    public ValueTask<Stream?> SerializeAsync(object? message, MessageHeaderCollection headers, ProducerEndpoint endpoint)
    Parameters
    Type Name Description
    object message

    The message object to be serialized.

    MessageHeaderCollection headers

    The message headers collection.

    ProducerEndpoint endpoint

    The endpoint.

    Returns
    Type Description
    ValueTask<Stream>

    A Task<TResult> representing the asynchronous operation. The task result contains the Stream with the serialized message.

    Implements

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