Table of Contents

Class NatsSerializerBuilder<T>

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

Represents a builder for creating a chain of serializers for NATS messages.

public class NatsSerializerBuilder<T>

Type Parameters

T

Serialized object type

Inheritance
NatsSerializerBuilder<T>
Inherited Members

Methods

Add(INatsSerializer<T>)

Adds a serializer to the chain of serializers for NATS messages.

Build()

Builds a chain of serializers for NATS messages based on the added serializers. Serializers are combined in the reverse order they were added.