Struct BsonSerializationArgs
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
Represents args common to all serializers.
public struct BsonSerializationArgs
- Inherited Members
- Extension Methods
Constructors
- BsonSerializationArgs(Type, bool, bool)
Initializes a new instance of the BsonSerializationArgs struct.
Properties
- NominalType
Gets or sets the nominal type.
- SerializeAsNominalType
Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type.
- SerializeIdFirst
Gets or sets a value indicating whether to serialize the id first.