Table of Contents

Method LookupIdGenerator

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

LookupIdGenerator(Type)

Looks up an IdGenerator.

public static IIdGenerator LookupIdGenerator(Type type)

Parameters

type Type

The Id type.

Returns

IIdGenerator

An IdGenerator for the Id type.