Method RegisterDiscriminator
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
RegisterDiscriminator(Type, BsonValue)
Registers the discriminator for a type.
public static void RegisterDiscriminator(Type type, BsonValue discriminator)