Table of Contents

Method SetDiscriminatorConvention

Namespace
MongoDB.Bson.Serialization
Assembly
MongoDB.Bson.dll

SetDiscriminatorConvention(IDiscriminatorConvention)

Sets the discriminator convention.

public void SetDiscriminatorConvention(IDiscriminatorConvention discriminatorConvention)

Parameters

discriminatorConvention IDiscriminatorConvention

The discriminator convention.