Interface IBsonSerializer<TValue>
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
An interface implemented by a serializer for values of type TValue.
public interface IBsonSerializer<TValue> : IBsonSerializer
Type Parameters
TValue
The type that this serializer knows how to serialize.
- Inherited Members
- Extension Methods
Methods
- Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- Serialize(BsonSerializationContext, BsonSerializationArgs, TValue)
Serializes a value.