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
TypeThe type.
Returns
- IDiscriminatorConvention
A discriminator convention.