Interface IRepresentationConfigurable<TSerializer>
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
Represents a serializer that has a Representation property.
public interface IRepresentationConfigurable<TSerializer> : IRepresentationConfigurable, IHasRepresentationSerializer where TSerializer : IBsonSerializer
Type Parameters
TSerializer
The type of the serializer.
- Inherited Members
- Extension Methods
Methods
WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.
TSerializer WithRepresentation(BsonType representation)
Parameters
representation
BsonTypeThe representation.
Returns
- TSerializer
The reconfigured serializer.