Click or drag to resize
BsonSerializerRegistryGetSerializerT Method
Gets the serializer for the specified T.

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
Syntax
public IBsonSerializer<T> GetSerializer<T>()

Type Parameters

T

Return Value

Type: IBsonSerializerT
The serializer.

Implements

IBsonSerializerRegistryGetSerializerT
See Also