Interface IDiscriminatorConvention
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
Represents a discriminator convention.
public interface IDiscriminatorConvention- Extension Methods
Properties
- ElementName
- Gets the discriminator element name. 
Methods
- GetActualType(IBsonReader, Type)
- Gets the actual type of an object by reading the discriminator from a BsonReader. 
- GetDiscriminator(Type, Type)
- Gets the discriminator value for an actual type.