Method LookupSerializer
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
LookupSerializer<T>()
Looks up a serializer for a Type.
public static IBsonSerializer<T> LookupSerializer<T>()
Returns
- IBsonSerializer<T>
A serializer for type T.
Type Parameters
T
The type.
LookupSerializer(Type)
Looks up a serializer for a Type.
public static IBsonSerializer LookupSerializer(Type type)
Parameters
type
TypeThe Type.
Returns
- IBsonSerializer
A serializer for the Type.