Class ImpliedImplementationInterfaceSerializer<TInterface, TImplementation>
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for Interfaces.
public class ImpliedImplementationInterfaceSerializer<TInterface, TImplementation> : SerializerBase<TInterface>, IBsonSerializer<TInterface>, IBsonArraySerializer, IBsonDictionarySerializer, IBsonDocumentSerializer, IBsonSerializer, IChildSerializerConfigurable, IImpliedImplementationInterfaceSerializer where TImplementation : class, TInterface
Type Parameters
TInterface
The type of the interface.
TImplementation
The type of the implementation.
- Inheritance
-
SerializerBase<TInterface>ImpliedImplementationInterfaceSerializer<TInterface, TImplementation>
- Implements
-
IBsonSerializer<TInterface>
- Inherited Members
- Extension Methods
Constructors
- ImpliedImplementationInterfaceSerializer()
Initializes a new instance of the ImpliedImplementationInterfaceSerializer<TInterface, TImplementation> class.
- ImpliedImplementationInterfaceSerializer(IBsonSerializerRegistry)
Initializes a new instance of the ImpliedImplementationInterfaceSerializer<TInterface, TImplementation> class.
- ImpliedImplementationInterfaceSerializer(IBsonSerializer<TImplementation>)
Initializes a new instance of the ImpliedImplementationInterfaceSerializer<TInterface, TImplementation> class.
Properties
- DictionaryRepresentation
Gets the dictionary representation.
- ImplementationSerializer
Gets the implementation serializer.
- KeySerializer
Gets the key serializer.
- ValueSerializer
Gets the value serializer.
Methods
- Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
- Serialize(BsonSerializationContext, BsonSerializationArgs, TInterface)
Serializes a value.
- TryGetItemSerializationInfo(out BsonSerializationInfo)
Tries to get the serialization info for the individual items of the array.
- TryGetMemberSerializationInfo(string, out BsonSerializationInfo)
Tries to get the serialization info for a member.
- WithImplementationSerializer(IBsonSerializer<TImplementation>)
Returns a serializer that has been reconfigured with the specified implementation serializer.