Method RegisterSerializer
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
RegisterSerializer(Type, IBsonSerializer)
Registers the serializer.
public void RegisterSerializer(Type type, IBsonSerializer serializer)
Parameters
type
TypeThe type.
serializer
IBsonSerializerThe serializer.