Method GetDiscriminator
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
GetDiscriminator(Type, Type)
Gets the discriminator value for an actual type.
BsonValue GetDiscriminator(Type nominalType, Type actualType)
Parameters
Returns
- BsonValue
The discriminator value.