Method GetActualType
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
GetActualType(IBsonReader, Type)
Gets the actual type of an object by reading the discriminator from a BsonReader.
Parameters
bsonReader
IBsonReader The reader.
nominalType
TypeThe nominal type.
Returns
- Type
The actual type.