Method WithItemSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
WithItemSerializer(IBsonSerializer<TItem>)
Returns a serializer that has been reconfigured with the specified item serializer.
public QueueSerializer<TItem> WithItemSerializer(IBsonSerializer<TItem> itemSerializer)
Parameters
itemSerializer
IBsonSerializer<TItem>The item serializer.
Returns
- QueueSerializer<TItem>
The reconfigured serializer.