SerializerBase<TValue> Class |
Namespace: MongoDB.Bson.Serialization.Serializers
public abstract class SerializerBase<TValue> : IBsonSerializer<TValue>, IBsonSerializer
The SerializerBase< TValue> type exposes the following members.
Name | Description | |
---|---|---|
![]() | SerializerBase<TValue> | Initializes a new instance of the SerializerBase< TValue> class |
Name | Description | |
---|---|---|
![]() | CreateCannotBeDeserializedException |
Creates an exception to throw when a type cannot be deserialized.
|
![]() | CreateCannotBeSerializedException |
Creates an exception to throw when a type cannot be deserialized.
|
![]() | CreateCannotDeserializeFromBsonTypeException |
Creates an exception to throw when a type cannot be deserialized from a BsonType.
|
![]() | Deserialize |
Deserializes a value.
|
![]() | EnsureBsonTypeEquals |
Ensures that the BsonType equals the expected type.
|
![]() | Object.) | |
![]() | Object.) | |
![]() | Serialize |
Serializes a value.
|
![]() | Object.) |
Name | Description | |
---|---|---|
![]() | Deserialize(BsonDeserializationContext) | Overloaded.
Deserializes a value.
(Defined by IBsonSerializerExtensions.) |
![]() | Deserialize<TValue>(BsonDeserializationContext) | Overloaded.
Deserializes a value.
(Defined by IBsonSerializerExtensions.) |
![]() | Serialize(BsonSerializationContext, Object) | Overloaded.
Serializes a value.
(Defined by IBsonSerializerExtensions.) |
![]() | Serialize<TValue>(BsonSerializationContext, TValue) | Overloaded.
Serializes a value.
(Defined by IBsonSerializerExtensions.) |
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonValue(Object) | Overloaded.
Converts a value to a BsonValue by serializing it.
(Defined by IBsonSerializerExtensions.) |
![]() | ToBsonValue<TValue>(TValue) | Overloaded.
Converts a value to a BsonValue by serializing it.
(Defined by IBsonSerializerExtensions.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant