Table of Contents

Method RegisterCustomTypeMapper

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

RegisterCustomTypeMapper(Type, ICustomBsonTypeMapper)

Registers a custom type mapper.

public static void RegisterCustomTypeMapper(Type type, ICustomBsonTypeMapper customTypeMapper)

Parameters

type Type

The type.

customTypeMapper ICustomBsonTypeMapper

A custom type mapper.