Primitively Primitively
Primitively Primitively
DocFX + Singulink = ♥

Search Results for

    Interface IBsonSerializerOptions

    An interface which defines all the common properties to be implemented on Primitively Bson serializer options classes.

    Namespace: Primitively.MongoDB.Bson.Serialization
    Assembly: Primitively.MongoDB.Bson.dll
    Syntax
    public interface IBsonSerializerOptions

    Properties

    CreateInstance

    Gets the function used to create an instance of the serializer

    Declaration
    Func<Type, IBsonSerializer> CreateInstance { get; }
    Property Value
    Type Description
    Func<Type, IBsonSerializer>

    DataType

    Gets the DataType of the Primitively type that the serializer targets

    Declaration
    DataType DataType { get; }
    Property Value
    Type Description
    DataType

    Representation

    Gets or sets the MongoDB.Bson.BsonType used to create a serializer instance

    Declaration
    BsonType Representation { get; set; }
    Property Value
    Type Description
    BsonType

    SerializerType

    Gets or sets the serializer type used to serialize/deserialize Primitively types that match the given DataType

    Declaration
    Type SerializerType { get; set; }
    Property Value
    Type Description
    Type

    Extension Methods

    BsonSerializerOptionsExtensions.GetSerializerType(IBsonSerializerOptions, Type)
    © Electronic Hands. All rights reserved.