Table of Contents

Class EnumRepresentationConvention

Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll

A convention that allows you to set the Enum serialization representation

public class EnumRepresentationConvention : ConventionBase, IMemberMapConvention, IConvention
Inheritance
EnumRepresentationConvention
Implements
Inherited Members
Extension Methods

Constructors

EnumRepresentationConvention(BsonType)

Initializes a new instance of the EnumRepresentationConvention class.

Properties

Representation

Gets the representation.

Methods

Apply(BsonMemberMap)

Applies a modification to the member map.