Table of Contents

Interface IScalarDiscriminatorConvention

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

Represents a discriminator convention where the discriminator for each type in a polymorphic hierarchy is a scalar.

public interface IScalarDiscriminatorConvention : IDiscriminatorConvention
Inherited Members
Extension Methods

Methods

GetDiscriminatorsForTypeAndSubTypes(Type)

Returns the discriminators for a type and all of its known subtypes.