Table of Contents

Method LookupDiscriminatorConvention

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

LookupDiscriminatorConvention(Type)

Looks up the discriminator convention for a type.

public static IDiscriminatorConvention LookupDiscriminatorConvention(Type type)

Parameters

type Type

The type.

Returns

IDiscriminatorConvention

A discriminator convention.