Method Create
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Create(Type)
Creates a EnumSerializer.
public static IBsonSerializer Create(Type valueType)
Parameters
valueType
TypeThe value type.
Returns
- IBsonSerializer
A EnumSerializer