Table of Contents

Method MapCreator

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

MapCreator(Delegate)

Creates a creator map and adds it to the class.

public BsonCreatorMap MapCreator(Delegate @delegate)

Parameters

delegate Delegate

The delegate.

Returns

BsonCreatorMap

The factory method map (so method calls can be chained).

MapCreator(Delegate, params string[])

Creates a creator map and adds it to the class.

public BsonCreatorMap MapCreator(Delegate @delegate, params string[] argumentNames)

Parameters

delegate Delegate

The delegate.

argumentNames string[]

The argument names.

Returns

BsonCreatorMap

The factory method map (so method calls can be chained).