Click or drag to resize

SerializerBaseTValue Class

Represents an abstract base class for serializers.
Inheritance Hierarchy
SystemObject
  MongoDB.Bson.Serialization.SerializersSerializerBaseTValue
    More...

Namespace:  MongoDB.Bson.Serialization.Serializers
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public abstract class SerializerBase<TValue> : IBsonSerializer<TValue>, 
	IBsonSerializer

Type Parameters

TValue
The type of the value.

The SerializerBaseTValue type exposes the following members.

Constructors
  NameDescription
Protected methodSerializerBaseTValue
Initializes a new instance of the SerializerBaseTValue class
Top
Properties
  NameDescription
Public propertyValueType
Gets the type of the values.
Top
Methods
  NameDescription
Protected methodCreateCannotBeDeserializedException
Creates an exception to throw when a type cannot be deserialized.
Protected methodCreateCannotBeSerializedException
Creates an exception to throw when a type cannot be deserialized.
Protected methodCreateCannotDeserializeFromBsonTypeException
Creates an exception to throw when a type cannot be deserialized from a BsonType.
Public methodDeserialize
Deserializes a value.
Protected methodEnsureBsonTypeEquals
Ensures that the BsonType equals the expected type.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSerialize
Serializes a value.
Public methodToString (Inherited from Object.)
Top
Extension Methods
See Also
Inheritance Hierarchy
SystemObject
  MongoDB.Bson.Serialization.SerializersSerializerBaseTValue
    MongoDB.Bson.SerializationBsonClassMapSerializerTClass
    MongoDB.Bson.Serialization.SerializersBsonValueCSharpNullSerializerTBsonValue
    MongoDB.Bson.Serialization.SerializersBsonValueSerializerBaseTBsonValue
    MongoDB.Bson.Serialization.SerializersClassSerializerBaseTValue
    MongoDB.Bson.Serialization.SerializersDiscriminatedInterfaceSerializerTInterface
    MongoDB.Bson.Serialization.SerializersDiscriminatedWrapperSerializerTValue
    MongoDB.Bson.Serialization.SerializersDynamicDocumentBaseSerializerT
    MongoDB.Bson.Serialization.SerializersEnumerableSerializerBaseTValue
    MongoDB.Bson.Serialization.SerializersEnumerableSerializerBaseTValue, TItem
    MongoDB.Bson.Serialization.SerializersImpliedImplementationInterfaceSerializerTInterface, TImplementation
    MongoDB.Bson.Serialization.SerializersNullableSerializerT
    MongoDB.Bson.Serialization.SerializersPartiallyRawBsonDocumentSerializer
    MongoDB.Bson.Serialization.SerializersProjectingDeserializerTFrom, TTo
    MongoDB.Bson.Serialization.SerializersSealedClassSerializerBaseTValue
    MongoDB.Bson.Serialization.SerializersSerializeAsNominalTypeSerializerTActualType, TNominalType
    MongoDB.Bson.Serialization.SerializersStructSerializerBaseTValue
    MongoDB.Bson.Serialization.SerializersUndiscriminatedActualTypeSerializerTValue
    MongoDB.DriverCommandResultSerializerTCommandResult
    MongoDB.Driver.Core.MiscFixedCountBatchableSourceSerializerTItem
    MongoDB.Driver.Core.MiscSizeLimitingBatchableSourceSerializerTItem
    MongoDB.Driver.Core.OperationsFindAndModifyValueDeserializerTResult