Click or drag to resize

BsonExtensionMethods Class

A static class containing BSON extension methods.
Inheritance Hierarchy
SystemObject
  MongoDB.BsonBsonExtensionMethods

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public static class BsonExtensionMethods
Methods
  NameDescription
Public methodStatic memberToBson(Object, Type, BsonBinaryWriterSettings, IBsonSerializer, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes an object to a BSON byte array.
Public methodStatic memberToBsonTNominalType(TNominalType, IBsonSerializerTNominalType, BsonBinaryWriterSettings, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes an object to a BSON byte array.
Public methodStatic memberToBsonDocument(Object, Type, IBsonSerializer, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes an object to a BsonDocument.
Public methodStatic memberToBsonDocumentTNominalType(TNominalType, IBsonSerializerTNominalType, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes an object to a BsonDocument.
Public methodStatic memberToJson(Object, Type, JsonWriterSettings, IBsonSerializer, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes an object to a JSON string.
Public methodStatic memberToJsonTNominalType(TNominalType, JsonWriterSettings, IBsonSerializerTNominalType, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes an object to a JSON string.
Top
See Also