Table of Contents

Class HierarchicalDiscriminatorConvention

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

Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type.

public class HierarchicalDiscriminatorConvention : StandardDiscriminatorConvention, IDiscriminatorConvention
Inheritance
HierarchicalDiscriminatorConvention
Implements
Inherited Members
Extension Methods

Constructors

HierarchicalDiscriminatorConvention(string)

Initializes a new instance of the HierarchicalDiscriminatorConvention class.

Methods

GetDiscriminator(Type, Type)

Gets the discriminator value for an actual type.