Method With
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
With(Action<Builder>)
Creates a new context with some values changed.
public BsonSerializationContext With(Action<BsonSerializationContext.Builder> configurator = null)
Parameters
configurator
Action<BsonSerializationContext.Builder>The serialization context configurator.
Returns
- BsonSerializationContext
A new context.