Table of Contents

Constructor BsonDiscriminatorAttribute

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

BsonDiscriminatorAttribute()

Initializes a new instance of the BsonDiscriminatorAttribute class.

public BsonDiscriminatorAttribute()

BsonDiscriminatorAttribute(string)

Initializes a new instance of the BsonDiscriminatorAttribute class.

public BsonDiscriminatorAttribute(string discriminator)

Parameters

discriminator string

The discriminator.