Constructor EnumSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
EnumSerializer()
Initializes a new instance of the EnumSerializer<TEnum> class.
public EnumSerializer()
EnumSerializer(BsonType)
Initializes a new instance of the EnumSerializer<TEnum> class.
public EnumSerializer(BsonType representation)
Parameters
representation
BsonTypeThe representation.