Interface IBsonConvertibleSerializerOptions<TOptions>
Provides an interface for options that can be used to configure BSON convertible serializers.
Inherited Members
Namespace: Primitively.MongoDB.Bson.Serialization
Assembly: Primitively.MongoDB.Bson.dll
Syntax
public interface IBsonConvertibleSerializerOptions<TOptions> : IBsonSerializerOptions<TOptions>, IBsonSerializerOptions where TOptions : class, IBsonSerializerOptions
Type Parameters
Name | Description |
---|---|
TOptions | The type of the BSON serializer options. |
Properties
AllowOverflow
Gets or sets a value indicating whether to allow overflow when converting values.
Declaration
bool AllowOverflow { get; set; }
Property Value
Type | Description |
---|---|
bool |
AllowTruncation
Gets or sets a value indicating whether to allow truncation when converting values.
Declaration
bool AllowTruncation { get; set; }
Property Value
Type | Description |
---|---|
bool |