Method Register
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
Register(string, IConventionPack, Func<Type, bool>)
Registers the conventions.
public static void Register(string name, IConventionPack conventions, Func<Type, bool> filter)
Parameters
name
stringThe name.
conventions
IConventionPackThe conventions.
filter
Func<Type, bool>The filter.