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
TypeA Type.
Returns
- bool
True if the type is discriminated.