Interface IRepresentationConfigurable
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
Represents a serializer whose representation can be configured.
public interface IRepresentationConfigurable : IHasRepresentationSerializer
- Inherited Members
- Extension Methods
Methods
WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.
IBsonSerializer WithRepresentation(BsonType representation)
Parameters
representation
BsonTypeThe representation.
Returns
- IBsonSerializer
The reconfigured serializer.