Table of Contents

Method IsTypeDiscriminated

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

IsTypeDiscriminated(Type)

Returns whether the given type has any discriminators registered for any of its subclasses.

public static bool IsTypeDiscriminated(Type type)

Parameters

type Type

A Type.

Returns

bool

True if the type is discriminated.