Table of Contents

Class BsonExtensionMethods

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

A static class containing BSON extension methods.

public static class BsonExtensionMethods
Inheritance
BsonExtensionMethods
Inherited Members

Methods

ToBson(object, Type, BsonBinaryWriterSettings, IBsonSerializer, Action<Builder>, BsonSerializationArgs, int)

Serializes an object to a BSON byte array.

ToBsonDocument(object, Type, IBsonSerializer, Action<Builder>, BsonSerializationArgs)

Serializes an object to a BsonDocument.

ToBsonDocument<TNominalType>(TNominalType, IBsonSerializer<TNominalType>, Action<Builder>, BsonSerializationArgs)

Serializes an object to a BsonDocument.

ToBson<TNominalType>(TNominalType, IBsonSerializer<TNominalType>, BsonBinaryWriterSettings, Action<Builder>, BsonSerializationArgs, int)

Serializes an object to a BSON byte array.

ToJson(object, Type, JsonWriterSettings, IBsonSerializer, Action<Builder>, BsonSerializationArgs)

Serializes an object to a JSON string.

ToJson<TNominalType>(TNominalType, JsonWriterSettings, IBsonSerializer<TNominalType>, Action<Builder>, BsonSerializationArgs)

Serializes an object to a JSON string.