Interface IBsonSerializerOptions<TOptions>
An interface which defines all the common properties to be implemented on Primitively Bson serializer options classes.
Inherited Members
Namespace: Primitively.MongoDB.Bson.Serialization
Assembly: Primitively.MongoDB.Bson.dll
Syntax
public interface IBsonSerializerOptions<TOptions> : IBsonSerializerOptions where TOptions : class, IBsonSerializerOptions
Type Parameters
Name | Description |
---|---|
TOptions | The type of Primitively Bson serializer options class. |
Properties
CreateInstance
Gets or sets the function used to create an instance of the serializer
Declaration
Func<TOptions, Type, IBsonSerializer> CreateInstance { get; set; }
Property Value
Type | Description |
---|---|
Func<TOptions, Type, IBsonSerializer> |