Table of Contents

Method SetCreator

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

SetCreator(Func<object>)

Sets the creator for the object.

public BsonClassMap SetCreator(Func<object> creator)

Parameters

creator Func<object>

The creator.

Returns

BsonClassMap

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