Method WithRepresentation
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.
public override MemorySerializerBase<TItem, Memory<TItem>> WithRepresentation(BsonType representation)
Parameters
representation
BsonType The representation.
Returns
- Memory
Serializer <TItem, Memory<TItem>>Base The reconfigured serializer.