Table of Contents

Constructor ScalarDiscriminatorConvention

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

ScalarDiscriminatorConvention(string)

Initializes a new instance of the ScalarDiscriminatorConvention class.

public ScalarDiscriminatorConvention(string elementName)

Parameters

elementName string

The element name.