Method SetDiscriminatorConvention
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
SetDiscriminatorConvention(IDiscriminatorConvention)
Sets the discriminator convention.
public void SetDiscriminatorConvention(IDiscriminatorConvention discriminatorConvention)
Parameters
discriminatorConvention
IDiscriminatorConventionThe discriminator convention.