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
TypeThe type.
Returns
- BsonValue[]
The discriminators.