EnumSerializer(TEnum) Class (original) (raw)
EnumSerializerTEnum Class
Represents a serializer for enums.
Inheritance Hierarchy
Namespace: MongoDB.Bson.Serialization.Serializers
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public class EnumSerializer : StructSerializerBase, IRepresentationConfigurable<EnumSerializer>, IRepresentationConfigurable where TEnum : struct, new()
Public Class EnumSerializer(Of TEnum As {Structure, New}) Inherits StructSerializerBase(Of TEnum) Implements IRepresentationConfigurable(Of EnumSerializer(Of TEnum)), IRepresentationConfigurable
type EnumSerializer<'TEnum when 'TEnum : struct, new()> =
class
inherit StructSerializerBase<'TEnum>
interface IRepresentationConfigurable<EnumSerializer<'TEnum>>
interface IRepresentationConfigurable
end
Type Parameters
TEnum
The type of the enum.
The EnumSerializerTEnum type exposes the following members.
Constructors
Properties
Methods
Extension Methods
See Also