Table of Contents

Method GetDiscriminatorsForTypeAndSubTypes

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

GetDiscriminatorsForTypeAndSubTypes(Type)

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

BsonValue[] GetDiscriminatorsForTypeAndSubTypes(Type type)

Parameters

type Type

The type.

Returns

BsonValue[]

The discriminators.