# Class MasterListMapContributor

Namespace
  adas_core.Infrastructure.Utils.MongoMaps

Assembly
  adas-core.Infrastructure.dll

Represents a map contributor for the master list entity, providing mapping logic through the IEntityMapContributor contract.

    public class MasterListMapContributor : IEntityMapContributor

Inheritance
  object
  MasterListMapContributor

Implements
  IEntityMapContributor

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Remarks

Use this contributor when defining or extending the mapping configuration associated with master list entities.

## Methods

### RegisterMaps()

Registers BSON class maps for domain types (such as Element, OptionList, MasterList, Locale, and their derived option lists) to control their MongoDB serialization. Each registration is performed only when no class map already exists for the type, and applies domain-specific settings including default values, null-ignore rules, discriminator naming, and custom serializers for enums, locale fields, and identifiers.

    public void RegisterMaps()