# Class FormMapContributor

Namespace
  adas_core.Infrastructure.Utils.MongoMaps

Assembly
  adas-core.Infrastructure.dll

Represents a contributor responsible for providing form-related mapping logic for entities. Implements the IEntityMapContributor interface to participate in the entity mapping process.

    public class FormMapContributor : IEntityMapContributor

Inheritance
  object
  FormMapContributor

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?)

## Methods

### RegisterMaps()

Registers BSON class maps for FormConfig and FormItemOverview types used during MongoDB serialization, configuring default values and conditional serialization rules for their members. Each class map is only registered if it has not already been registered, preventing duplicate registrations.

    public void RegisterMaps()