Method Add
Add(INatsSerializer<T>)
Adds a serializer to the chain of serializers for NATS messages.
public NatsSerializerBuilder<T> Add(INatsSerializer<T> serializer)
Parameters
serializer
INatsSerializer<T>The serializer to be added.
Returns
- NatsSerializerBuilder<T>
The updated instance of the serializer builder.