IDiscriminatorConvention Interface (original) (raw)
Represents a discriminator convention.
Namespace: MongoDB.Bson.Serialization.Conventions
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public interface IDiscriminatorConvention
Public Interface IDiscriminatorConvention
type IDiscriminatorConvention = interface end
The IDiscriminatorConvention type exposes the following members.
Properties
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------ |
| | ElementName | Gets the discriminator element name. |
Methods
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| | GetActualType | Gets the actual type of an object by reading the discriminator from a BsonReader. |
|
| GetDiscriminator | Gets the discriminator value for an actual type. |
See Also