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
DelegateThe 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
Returns
- BsonCreatorMap
The factory method map (so method calls can be chained).