Constructor DelegateClassMapConvention
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
DelegateClassMapConvention(string, Action<BsonClassMap>)
Initializes a new instance of the DelegateClassMapConvention class.
public DelegateClassMapConvention(string name, Action<BsonClassMap> action)
Parameters
name
stringThe name.
action
Action<BsonClassMap>The delegate.