Constructor ReadOnlyCollectionSubclassSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
ReadOnlyCollectionSubclassSerializer()
Initializes a new instance of the ReadOnlyCollectionSubclassSerializer<TValue, TItem> class.
public ReadOnlyCollectionSubclassSerializer()
ReadOnlyCollectionSubclassSerializer(IBsonSerializer<TItem>)
Initializes a new instance of the ReadOnlyCollectionSubclassSerializer<TValue, TItem> class.
public ReadOnlyCollectionSubclassSerializer(IBsonSerializer<TItem> itemSerializer)
Parameters
itemSerializer
IBsonSerializer<TItem>The item serializer.
ReadOnlyCollectionSubclassSerializer(IBsonSerializerRegistry)
Initializes a new instance of the ReadOnlyCollectionSubclassSerializer<TValue, TItem> class.
public ReadOnlyCollectionSubclassSerializer(IBsonSerializerRegistry serializerRegistry)
Parameters
serializerRegistry
IBsonSerializerRegistryThe serializer registry.