MongoDB.Bson.BsonTypeMapper.RegisterCustomTypeMapper C# (CSharp) Метод

RegisterCustomTypeMapper() публичный статический Метод

Registers a custom type mapper.
public static RegisterCustomTypeMapper ( Type type, ICustomBsonTypeMapper customTypeMapper ) : void
type System.Type The type.
customTypeMapper ICustomBsonTypeMapper A custom type mapper.
Результат void
        public static void RegisterCustomTypeMapper(
            Type type,
            ICustomBsonTypeMapper customTypeMapper
        ) {
            customTypeMappers.Add(type, customTypeMapper);
        }