Method GetSerializer
GetSerializer<T>()
Returns DocumentSerializer if it implements IBsonSerializer{T}
or resolves IBsonSerializer{T}
from SerializerRegistry.
public readonly IBsonSerializer<T> GetSerializer<T>()
Returns
Type Parameters
T
Returns DocumentSerializer if it implements IBsonSerializer{T}
or resolves IBsonSerializer{T}
from SerializerRegistry.
public readonly IBsonSerializer<T> GetSerializer<T>()
T