Click or drag to resize

BsonExtensionMethods Class

A static class containing BSON extension methods.
Inheritance Hierarchy
System.Object
  MongoDB.Bson.BsonExtensionMethods

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public static class BsonExtensionMethods
Methods
  NameDescription
Public methodStatic memberToBson(Object, Type, BsonBinaryWriterSettings, IBsonSerializer, Action<BsonSerializationContext.Builder>, BsonSerializationArgs)
Serializes an object to a BSON byte array.
Public methodStatic memberToBson<TNominalType>(TNominalType, IBsonSerializer<TNominalType>, BsonBinaryWriterSettings, Action<BsonSerializationContext.Builder>, BsonSerializationArgs)
Serializes an object to a BSON byte array.
Public methodStatic memberToBsonDocument(Object, Type, IBsonSerializer, Action<BsonSerializationContext.Builder>, BsonSerializationArgs)
Serializes an object to a BsonDocument.
Public methodStatic memberToBsonDocument<TNominalType>(TNominalType, IBsonSerializer<TNominalType>, Action<BsonSerializationContext.Builder>, BsonSerializationArgs)
Serializes an object to a BsonDocument.
Public methodStatic memberToJson(Object, Type, JsonWriterSettings, IBsonSerializer, Action<BsonSerializationContext.Builder>, BsonSerializationArgs)
Serializes an object to a JSON string.
Public methodStatic memberToJson<TNominalType>(TNominalType, JsonWriterSettings, IBsonSerializer<TNominalType>, Action<BsonSerializationContext.Builder>, BsonSerializationArgs)
Serializes an object to a JSON string.
Top
See Also