Click or drag to resize

IDiscriminatorConvention Interface

Represents a discriminator convention.

Namespace:  MongoDB.Bson.Serialization.Conventions
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public interface IDiscriminatorConvention

The IDiscriminatorConvention type exposes the following members.

Properties
  NameDescription
Public propertyElementName
Gets the discriminator element name.
Top
Methods
  NameDescription
Public methodGetActualType
Gets the actual type of an object by reading the discriminator from a BsonReader.
Public methodGetDiscriminator
Gets the discriminator value for an actual type.
Top
See Also