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