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 | | | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------ | | Public property | ElementName | Gets the discriminator element name. |

Top

Methods

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | Public method | GetActualType | Gets the actual type of an object by reading the discriminator from a BsonReader. | | Public method | GetDiscriminator | Gets the discriminator value for an actual type. |

Top

See Also

Reference