public static RegisterCustomTypeMapper ( |
||
type | The type. | |
customTypeMapper | ICustomBsonTypeMapper | A custom type mapper. |
return | void |
public static void RegisterCustomTypeMapper(
Type type,
ICustomBsonTypeMapper customTypeMapper
) {
customTypeMappers.Add(type, customTypeMapper);
}