Click or drag to resize

IRegistryAwareBsonSerializationProvider Interface

An interface implemented by serialization providers that are aware of registries.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IRegistryAwareBsonSerializationProvider : IBsonSerializationProvider
Methods
  NameDescription
Public methodGetSerializer(Type)
Gets a serializer for a type.
(Inherited from IBsonSerializationProvider.)
Public methodGetSerializer(Type, IBsonSerializerRegistry)
Gets a serializer for a type.
Top
Remarks
This interface was added to preserve backward compatability (changing IBsonSerializationProvider would have been a backward breaking change).
See Also