Table of Contents

Method RegisterIdGenerator

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

RegisterIdGenerator(Type, IIdGenerator)

Registers an IdGenerator for an Id Type.

public static void RegisterIdGenerator(Type type, IIdGenerator idGenerator)

Parameters

type Type

The Id Type.

idGenerator IIdGenerator

The IdGenerator for the Id Type.