Method Serialize
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Serialize(BsonSerializationContext, BsonSerializationArgs, TDocument)
Serializes a value.
public void Serialize(BsonSerializationContext context, BsonSerializationArgs args, TDocument value)
Parameters
context
BsonSerializationContextThe serialization context.
args
BsonSerializationArgsThe serialization args.
value
TDocumentThe value.