Class NatsSerializerBuilder<T>
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.