Table of Contents

Class IBsonSerializerExtensions

Namespace
MongoDB.Bson.Serialization
Assembly
MongoDB.Bson.dll

Extensions methods for IBsonSerializer.

public static class IBsonSerializerExtensions
Inheritance
IBsonSerializerExtensions
Inherited Members

Methods

Deserialize(IBsonSerializer, BsonDeserializationContext)

Deserializes a value.

Deserialize<TValue>(IBsonSerializer<TValue>, BsonDeserializationContext)

Deserializes a value.

GetDiscriminatorConvention(IBsonSerializer)

Gets the discriminator convention for a serializer.

Serialize(IBsonSerializer, BsonSerializationContext, object)

Serializes a value.

Serialize<TValue>(IBsonSerializer<TValue>, BsonSerializationContext, TValue)

Serializes a value.

ToBsonValue(IBsonSerializer, object)

Converts a value to a BsonValue by serializing it.

ToBsonValue<TValue>(IBsonSerializer<TValue>, TValue)

Converts a value to a BsonValue by serializing it.