Class UndiscriminatedActualTypeSerializer<TValue>
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for interfaces and base classes that delegates to the actual type interface without writing a discriminator.
public class UndiscriminatedActualTypeSerializer<TValue> : SerializerBase<TValue>, IBsonSerializer<TValue>, IBsonSerializer
Type Parameters
TValue
Type type of the value.
- Inheritance
-
SerializerBase<TValue>UndiscriminatedActualTypeSerializer<TValue>
- Implements
-
IBsonSerializer<TValue>
- Inherited Members
- Extension Methods
Constructors
- UndiscriminatedActualTypeSerializer()
Initializes a new instance of the UndiscriminatedActualTypeSerializer<TValue> class.
Properties
- Instance
Gets the instance.
Methods
- Serialize(BsonSerializationContext, BsonSerializationArgs, TValue)
Serializes a value.